public class CreateGrantResult extends Object implements Serializable
| Constructor and Description |
|---|
CreateGrantResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGrantId()
Unique grant identifier.
|
String |
getGrantToken()
The grant token.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Unique grant identifier.
|
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)
Unique grant identifier.
|
CreateGrantResult |
withGrantToken(String grantToken)
The grant token.
|
public String getGrantToken()
Constraints:
Length: 1 - 8192
public void setGrantToken(String grantToken)
Constraints:
Length: 1 - 8192
grantToken - The grant token. A grant token is a string that identifies a grant and
which can be used to make a grant take effect immediately. A token
contains all of the information necessary to create a grant.public CreateGrantResult withGrantToken(String grantToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8192
grantToken - The grant token. A grant token is a string that identifies a grant and
which can be used to make a grant take effect immediately. A token
contains all of the information necessary to create a grant.public String getGrantId()
Constraints:
Length: 1 - 128
public void setGrantId(String grantId)
Constraints:
Length: 1 - 128
grantId - Unique grant identifier. You can use the GrantId value to
revoke a grant.public CreateGrantResult withGrantId(String grantId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
grantId - Unique grant identifier. You can use the GrantId value to
revoke a grant.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.