Class CreateGrantResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe unique identifier for the grant.The grant token.inthashCode()voidsetGrantId(String grantId) The unique identifier for the grant.voidsetGrantToken(String grantToken) The grant token.toString()Returns a string representation of this object; useful for testing and debugging.withGrantId(String grantId) The unique identifier for the grant.withGrantToken(String grantToken) The grant token.
-
Constructor Details
-
CreateGrantResult
public CreateGrantResult()
-
-
Method Details
-
setGrantToken
The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
- Parameters:
grantToken- The grant token.For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
-
getGrantToken
The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
- Returns:
- The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
-
withGrantToken
The grant token.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
- Parameters:
grantToken- The grant token.For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGrantId
The unique identifier for the grant.
You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.- Parameters:
grantId- The unique identifier for the grant.You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.
-
getGrantId
The unique identifier for the grant.
You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.- Returns:
- The unique identifier for the grant.
You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.
-
withGrantId
The unique identifier for the grant.
You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.- Parameters:
grantId- The unique identifier for the grant.You can use the
GrantIdin a subsequent RetireGrant or RevokeGrant operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-