Record Class AccountSecurityOperations.MfaAction
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecurityOperations.MfaAction
- Enclosing class:
AccountSecurityOperations
public static record AccountSecurityOperations.MfaAction(Boolean allowed, String reasonCode, AccountSecurityOperations.ProofRequirement proofRequirement, List<AccountSecurityOperations.OperationProofOption> proofOptions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMfaAction(Boolean allowed, String reasonCode, AccountSecurityOperations.ProofRequirement proofRequirement, List<AccountSecurityOperations.OperationProofOption> proofOptions) Creates an instance of aMfaActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionallowed()Returns the value of theallowedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproofOptionsrecord component.Returns the value of theproofRequirementrecord component.Returns the value of thereasonCoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MfaAction
public MfaAction(Boolean allowed, String reasonCode, AccountSecurityOperations.ProofRequirement proofRequirement, List<AccountSecurityOperations.OperationProofOption> proofOptions) Creates an instance of aMfaActionrecord class.- Parameters:
allowed- the value for theallowedrecord componentreasonCode- the value for thereasonCoderecord componentproofRequirement- the value for theproofRequirementrecord componentproofOptions- the value for theproofOptionsrecord 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). -
allowed
Returns the value of theallowedrecord component.- Returns:
- the value of the
allowedrecord component
-
reasonCode
Returns the value of thereasonCoderecord component.- Returns:
- the value of the
reasonCoderecord component
-
proofRequirement
Returns the value of theproofRequirementrecord component.- Returns:
- the value of the
proofRequirementrecord component
-
proofOptions
Returns the value of theproofOptionsrecord component.- Returns:
- the value of the
proofOptionsrecord component
-