@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, setSdkResponseMetadata
public 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.GrantStatus
public String getStatus()
Grant status.
GrantStatus
public AcceptGrantResult withStatus(String status)
Grant status.
status
- Grant status.GrantStatus
public AcceptGrantResult 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 AcceptGrantResult withVersion(String version)
Grant version.
version
- Grant version.public String toString()
toString
in class Object
Object.toString()
public AcceptGrantResult clone()