@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddPermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddPermissionResult() |
Modifier and Type | Method and Description |
---|---|
AddPermissionResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatement()
The permission statement you specified in the request.
|
int |
hashCode() |
void |
setStatement(String statement)
The permission statement you specified in the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddPermissionResult |
withStatement(String statement)
The permission statement you specified in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatement(String statement)
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
statement
- The permission statement you specified in the request. The response returns the same as a string using a
backslash ("\") as an escape character in the JSON.public String getStatement()
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
public AddPermissionResult withStatement(String statement)
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
statement
- The permission statement you specified in the request. The response returns the same as a string using a
backslash ("\") as an escape character in the JSON.public String toString()
toString
in class Object
Object.toString()
public AddPermissionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.