@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 |
getPolicyRevisionId()
A unique identifier for a revision of the resource policy.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource for which the policy was created.
|
int |
hashCode() |
void |
setPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource for which the policy was created.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
|
PutResourcePolicyResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource for which the policy was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource for which the policy was created.
resourceArn
- The Amazon Resource Name (ARN) of the resource for which the policy was created.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource for which the policy was created.
public PutResourcePolicyResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource for which the policy was created.
resourceArn
- The Amazon Resource Name (ARN) of the resource for which the policy was created.public void setPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
policyRevisionId
- A unique identifier for a revision of the resource policy.public String getPolicyRevisionId()
A unique identifier for a revision of the resource policy.
public PutResourcePolicyResult withPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
policyRevisionId
- A unique identifier for a revision of the resource policy.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()