@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddLayerVersionPermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AddLayerVersionPermissionResult () |
| Modifier and Type | Method and Description |
|---|---|
AddLayerVersionPermissionResult |
clone () |
boolean |
equals (Object obj) |
String |
getRevisionId ()
A unique identifier for the current revision of the policy.
|
String |
getStatement ()
The permission statement.
|
int |
hashCode () |
void |
setRevisionId (String revisionId)
A unique identifier for the current revision of the policy.
|
void |
setStatement (String statement)
The permission statement.
|
String |
toString ()
Returns a string representation of this object.
|
AddLayerVersionPermissionResult |
withRevisionId (String revisionId)
A unique identifier for the current revision of the policy.
|
AddLayerVersionPermissionResult |
withStatement (String statement)
The permission statement.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public AddLayerVersionPermissionResult()
public void setStatement(String statement)
The permission statement.
statement - The permission statement.public String getStatement()
The permission statement.
public AddLayerVersionPermissionResult withStatement(String statement)
The permission statement.
statement - The permission statement.public void setRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
revisionId - A unique identifier for the current revision of the policy.public String getRevisionId()
A unique identifier for the current revision of the policy.
public AddLayerVersionPermissionResult withRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
revisionId - A unique identifier for the current revision of the policy.public String toString()
toString in class Object Object.toString() public AddLayerVersionPermissionResult clone()