@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 |
getPolicyHash()
A hash of the policy that has just been set.
|
int |
hashCode() |
void |
setPolicyHash(String policyHash)
A hash of the policy that has just been set.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withPolicyHash(String policyHash)
A hash of the policy that has just been set.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicyHash(String policyHash)
A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy.
policyHash - A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or
updates this policy.public String getPolicyHash()
A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy.
public PutResourcePolicyResult withPolicyHash(String policyHash)
A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy.
policyHash - A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or
updates this policy.public String toString()
toString in class ObjectObject.toString()public PutResourcePolicyResult clone()