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()
Unique grant identifier.
|
String |
getGrantToken()
For more information, see Grant
Tokens.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Unique grant identifier.
|
void |
setGrantToken(String grantToken)
For more information, see Grant
Tokens.
|
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)
For more information, see Grant
Tokens.
|
public String getGrantToken()
Constraints:
Length: 1 - 8192
public void setGrantToken(String grantToken)
Constraints:
Length: 1 - 8192
grantToken
- For more information, see Grant
Tokens.public CreateGrantResult withGrantToken(String grantToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8192
grantToken
- For more information, see Grant
Tokens.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 Object
Object.toString()
public CreateGrantResult clone()
Copyright © 2015. All rights reserved.