Record Class AccountSecurityOperations.ReplaceIdentity
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecurityOperations.ReplaceIdentity
- All Implemented Interfaces:
AccountSecurityOperations.IdentityPayload
- Enclosing class:
AccountSecurityOperations
public static record AccountSecurityOperations.ReplaceIdentity(String identifierId, AccountSecurityOperations.LoginIdentifier replacement, Boolean removeOld, String replacementPrimaryId)
extends Record
implements AccountSecurityOperations.IdentityPayload
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceIdentity(String identifierId, AccountSecurityOperations.LoginIdentifier replacement, Boolean removeOld, String replacementPrimaryId) Creates an instance of aReplaceIdentityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierIdrecord component.Returns the value of theremoveOldrecord component.Returns the value of thereplacementrecord component.Returns the value of thereplacementPrimaryIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReplaceIdentity
public ReplaceIdentity(String identifierId, AccountSecurityOperations.LoginIdentifier replacement, Boolean removeOld, String replacementPrimaryId) Creates an instance of aReplaceIdentityrecord class.- Parameters:
identifierId- the value for theidentifierIdrecord componentreplacement- the value for thereplacementrecord componentremoveOld- the value for theremoveOldrecord componentreplacementPrimaryId- the value for thereplacementPrimaryIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
identifierId
Returns the value of theidentifierIdrecord component.- Returns:
- the value of the
identifierIdrecord component
-
replacement
Returns the value of thereplacementrecord component.- Returns:
- the value of the
replacementrecord component
-
removeOld
Returns the value of theremoveOldrecord component.- Returns:
- the value of the
removeOldrecord component
-
replacementPrimaryId
Returns the value of thereplacementPrimaryIdrecord component.- Returns:
- the value of the
replacementPrimaryIdrecord component
-