@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteGrantResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeleteGrantResult() |
Modifier and Type | Method and Description |
---|---|
DeleteGrantResult |
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.
|
DeleteGrantResult |
withGrantArn(String grantArn)
Grant ARN.
|
DeleteGrantResult |
withStatus(GrantStatus status)
Grant status.
|
DeleteGrantResult |
withStatus(String status)
Grant status.
|
DeleteGrantResult |
withVersion(String version)
Grant version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGrantArn(String grantArn)
Grant ARN.
grantArn
- Grant ARN.public String getGrantArn()
Grant ARN.
public DeleteGrantResult withGrantArn(String grantArn)
Grant ARN.
grantArn
- Grant ARN.public void setStatus(String status)
Grant status.
status
- Grant status.GrantStatus
public String getStatus()
Grant status.
GrantStatus
public DeleteGrantResult withStatus(String status)
Grant status.
status
- Grant status.GrantStatus
public DeleteGrantResult withStatus(GrantStatus status)
Grant status.
status
- Grant status.GrantStatus
public void setVersion(String version)
Grant version.
version
- Grant version.public String getVersion()
Grant version.
public DeleteGrantResult withVersion(String version)
Grant version.
version
- Grant version.public String toString()
toString
in class Object
Object.toString()
public DeleteGrantResult clone()