Record Class HostPasswordRotationStore.Access
java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRotationStore.Access
- Enclosing class:
HostPasswordRotationStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longhost()Returns the value of thehostrecord component.login()Returns the value of theloginrecord component.intport()Returns the value of theportrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
Access
Creates an instance of aAccessrecord class.- Parameters:
host- the value for thehostrecord componentdestination- the value for thedestinationrecord componentuser- the value for theuserrecord componentaddress- the value for theaddressrecord componentport- the value for theportrecord componentlogin- the value for theloginrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
host
public long host()Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
port
public int port()Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
login
Returns the value of theloginrecord component.- Returns:
- the value of the
loginrecord component
-