Record Class PortalOpenApiMachineToken
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.PortalOpenApiMachineToken
-
Constructor Summary
ConstructorsConstructorDescriptionPortalOpenApiMachineToken(String accessToken, String scope, Instant expiresAt) Creates an instance of aPortalOpenApiMachineTokenrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessTokenrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PortalOpenApiMachineToken
Creates an instance of aPortalOpenApiMachineTokenrecord class.- Parameters:
accessToken- the value for theaccessTokenrecord componentscope- the value for thescoperecord componentexpiresAt- the value for theexpiresAtrecord 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). -
accessToken
Returns the value of theaccessTokenrecord component.- Returns:
- the value of the
accessTokenrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-