@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptGrantResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AcceptGrantResult() |
| Modifier and Type | Method and Description |
|---|---|
AcceptGrantResult |
clone() |
boolean |
equals(Object obj) |
String |
getGrantArn()
Grant ARN.
|
String |
getStatus()
Grant status.
|
String |
getVersion()
Grant version.
|
int |
hashCode() |
void |
setGrantArn(String grantArn)
Grant ARN.
|
void |
setStatus(String status)
Grant status.
|
void |
setVersion(String version)
Grant version.
|
String |
toString()
Returns a string representation of this object.
|
AcceptGrantResult |
withGrantArn(String grantArn)
Grant ARN.
|
AcceptGrantResult |
withStatus(GrantStatus status)
Grant status.
|
AcceptGrantResult |
withStatus(String status)
Grant status.
|
AcceptGrantResult |
withVersion(String version)
Grant version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setGrantArn(String grantArn)
Grant ARN.
grantArn - Grant ARN.public String getGrantArn()
Grant ARN.
public AcceptGrantResult withGrantArn(String grantArn)
Grant ARN.
grantArn - Grant ARN.public void setStatus(String status)
Grant status.
status - Grant status.GrantStatuspublic String getStatus()
Grant status.
GrantStatuspublic AcceptGrantResult withStatus(String status)
Grant status.
status - Grant status.GrantStatuspublic AcceptGrantResult withStatus(GrantStatus status)
Grant status.
status - Grant status.GrantStatuspublic void setVersion(String version)
Grant version.
version - Grant version.public String getVersion()
Grant version.
public AcceptGrantResult withVersion(String version)
Grant version.
version - Grant version.public String toString()
toString in class ObjectObject.toString()public AcceptGrantResult clone()