public class CreateGrantResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateGrantResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateGrantResult |
clone() |
boolean |
equals(Object obj) |
String |
getGrantId()
The unique identifier for the grant.
|
String |
getGrantToken()
The grant token.
|
int |
hashCode() |
void |
setGrantId(String grantId)
The unique identifier for the grant.
|
void |
setGrantToken(String grantToken)
The grant token.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateGrantResult |
withGrantId(String grantId)
The unique identifier for the grant.
|
CreateGrantResult |
withGrantToken(String grantToken)
The grant token.
|
public String getGrantToken()
For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 1 - 8192
For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
public void setGrantToken(String grantToken)
For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 1 - 8192
grantToken - The grant token. For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
public CreateGrantResult withGrantToken(String grantToken)
For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8192
grantToken - The grant token. For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
public String getGrantId()
You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
Constraints:
Length: 1 - 128
You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
public void setGrantId(String grantId)
You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
Constraints:
Length: 1 - 128
grantId - The unique identifier for the grant. You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
public CreateGrantResult withGrantId(String grantId)
You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
grantId - The unique identifier for the grant. You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
public String toString()
toString in class ObjectObject.toString()public CreateGrantResult clone()
Copyright © 2015. All rights reserved.