Record Class CreatedRegistrationGrant
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.CreatedRegistrationGrant
public record CreatedRegistrationGrant(RegistrationGrant grant, String registrationGrantToken, String registrationAccessCode, String registrationInvitationUrl, boolean secretAlreadyIssued)
extends Record
One-time create/rotate material, or a replay with no secret reissued.
-
Constructor Summary
ConstructorsConstructorDescriptionCreatedRegistrationGrant(RegistrationGrant grant, String registrationGrantToken, String registrationAccessCode, String registrationInvitationUrl, boolean secretAlreadyIssued) Creates an instance of aCreatedRegistrationGrantrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.grant()Returns the value of thegrantrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theregistrationAccessCoderecord component.Returns the value of theregistrationGrantTokenrecord component.Returns the value of theregistrationInvitationUrlrecord component.booleanReturns the value of thesecretAlreadyIssuedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreatedRegistrationGrant
public CreatedRegistrationGrant(RegistrationGrant grant, String registrationGrantToken, String registrationAccessCode, String registrationInvitationUrl, boolean secretAlreadyIssued) Creates an instance of aCreatedRegistrationGrantrecord class.- Parameters:
grant- the value for thegrantrecord componentregistrationGrantToken- the value for theregistrationGrantTokenrecord componentregistrationAccessCode- the value for theregistrationAccessCoderecord componentregistrationInvitationUrl- the value for theregistrationInvitationUrlrecord componentsecretAlreadyIssued- the value for thesecretAlreadyIssuedrecord 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. -
grant
Returns the value of thegrantrecord component.- Returns:
- the value of the
grantrecord component
-
registrationGrantToken
Returns the value of theregistrationGrantTokenrecord component.- Returns:
- the value of the
registrationGrantTokenrecord component
-
registrationAccessCode
Returns the value of theregistrationAccessCoderecord component.- Returns:
- the value of the
registrationAccessCoderecord component
-
registrationInvitationUrl
Returns the value of theregistrationInvitationUrlrecord component.- Returns:
- the value of the
registrationInvitationUrlrecord component
-
secretAlreadyIssued
public boolean secretAlreadyIssued()Returns the value of thesecretAlreadyIssuedrecord component.- Returns:
- the value of the
secretAlreadyIssuedrecord component
-