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