@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, setSdkResponseMetadata
public 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 Object
Object.toString()
public PutResourcePolicyResult clone()