Record Class HostPasswordActivation
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.HostPasswordActivation
- All Implemented Interfaces:
Serializable
public record HostPasswordActivation(String state, String authorizationUri, boolean localPasswordRequired, boolean activated)
extends Record
implements Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHostPasswordActivation(String state, String authorizationUri, boolean localPasswordRequired, boolean activated) Creates an instance of aHostPasswordActivationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theactivatedrecord component.Returns the value of theauthorizationUrirecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelocalPasswordRequiredrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostPasswordActivation
public HostPasswordActivation(String state, String authorizationUri, boolean localPasswordRequired, boolean activated) Creates an instance of aHostPasswordActivationrecord class.- Parameters:
state- the value for thestaterecord componentauthorizationUri- the value for theauthorizationUrirecord componentlocalPasswordRequired- the value for thelocalPasswordRequiredrecord componentactivated- the value for theactivatedrecord 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. -
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
authorizationUri
Returns the value of theauthorizationUrirecord component.- Returns:
- the value of the
authorizationUrirecord component
-
localPasswordRequired
public boolean localPasswordRequired()Returns the value of thelocalPasswordRequiredrecord component.- Returns:
- the value of the
localPasswordRequiredrecord component
-
activated
public boolean activated()Returns the value of theactivatedrecord component.- Returns:
- the value of the
activatedrecord component
-