Package io.micronaut.maven.jib
Record Class JibConfiguration.FromConfiguration
java.lang.Object
java.lang.Record
io.micronaut.maven.jib.JibConfiguration.FromConfiguration
- Record Components:
image
- The image.auth
- The authentication configuration.
- Enclosing class:
- JibConfiguration
public static record JibConfiguration.FromConfiguration(Optional<String> image, Optional<JibConfiguration.AuthConfiguration> auth)
extends Record
Represents the from configuration.
-
Constructor Summary
ConstructorDescriptionFromConfiguration
(Optional<String> image, Optional<JibConfiguration.AuthConfiguration> auth) Creates an instance of aFromConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionauth()
Returns the value of theauth
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.image()
Returns the value of theimage
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
image
Returns the value of theimage
record component.- Returns:
- the value of the
image
record component
-
auth
Returns the value of theauth
record component.- Returns:
- the value of the
auth
record component
-