@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutResourcePolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
PutResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyId()
The ID of the resource policy.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
The ID of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withPolicyId(String policyId)
The ID of the resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicyId(String policyId)
The ID of the resource policy.
policyId - The ID of the resource policy.public String getPolicyId()
The ID of the resource policy.
public PutResourcePolicyResult withPolicyId(String policyId)
The ID of the resource policy.
policyId - The ID of the resource policy.public String toString()
toString in class ObjectObject.toString()public PutResourcePolicyResult clone()