Record Class DockerConnectionConfiguration.Host
java.lang.Object
java.lang.Record
org.springframework.boot.buildpack.platform.docker.configuration.DockerConnectionConfiguration.Host
- Record Components:
- address- the host address
- secure- if connection is secure
- certificatePath- a path to the certificate used for secure connections
- All Implemented Interfaces:
- DockerConnectionConfiguration
- Enclosing interface:
- DockerConnectionConfiguration
public static record DockerConnectionConfiguration.Host(String address, boolean secure, String certificatePath)
extends Record
implements DockerConnectionConfiguration
Connect to specific host.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.springframework.boot.buildpack.platform.docker.configuration.DockerConnectionConfigurationDockerConnectionConfiguration.Context, DockerConnectionConfiguration.Host
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.Returns the value of thecertificatePathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleansecure()Returns the value of thesecurerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
Host
- 
HostCreates an instance of aHostrecord class.- Parameters:
- address- the value for the- addressrecord component
- secure- the value for the- securerecord component
- certificatePath- the value for the- certificatePathrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
addressReturns the value of theaddressrecord component.- Returns:
- the value of the addressrecord component
 
- 
securepublic boolean secure()Returns the value of thesecurerecord component.- Returns:
- the value of the securerecord component
 
- 
certificatePathReturns the value of thecertificatePathrecord component.- Returns:
- the value of the certificatePathrecord component
 
 
-