Package io.micronaut.maven.jib
Record Class JibConfiguration.ToConfiguration
java.lang.Object
java.lang.Record
io.micronaut.maven.jib.JibConfiguration.ToConfiguration
- Record Components:
image
- The image.- The tags.
auth
- The authentication configuration.
- Enclosing class:
- JibConfiguration
public static record JibConfiguration.ToConfiguration(Optional<String> image, Set<String> tags, Optional<JibConfiguration.AuthConfiguration> auth)
extends Record
Represents the to configuration.
-
Constructor Summary
ConstructorDescriptionToConfiguration
(Optional<String> image, Set<String> tags, Optional<JibConfiguration.AuthConfiguration> auth) Creates an instance of aToConfiguration
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.tags()
Returns the value of thetags
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ToConfiguration
public ToConfiguration(Optional<String> image, Set<String> tags, Optional<JibConfiguration.AuthConfiguration> auth) Creates an instance of aToConfiguration
record class.
-
-
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
-
tags
Returns the value of thetags
record component.- Returns:
- the value of the
tags
record component
-
auth
Returns the value of theauth
record component.- Returns:
- the value of the
auth
record component
-