@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 that's added to the function policy.
|
int |
hashCode() |
void |
setStatement(String statement)
The permission statement that's added to the function policy.
|
String |
toString()
Returns a string representation of this object.
|
AddPermissionResult |
withStatement(String statement)
The permission statement that's added to the function policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatement(String statement)
The permission statement that's added to the function policy.
statement
- The permission statement that's added to the function policy.public String getStatement()
The permission statement that's added to the function policy.
public AddPermissionResult withStatement(String statement)
The permission statement that's added to the function policy.
statement
- The permission statement that's added to the function policy.public String toString()
toString
in class Object
Object.toString()
public AddPermissionResult clone()