@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
PutPolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
The details of the AWS Firewall Manager policy that was created.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the policy that was created.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutPolicyResult |
withPolicy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
|
PutPolicyResult |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
policy - The details of the AWS Firewall Manager policy that was created.public Policy getPolicy()
The details of the AWS Firewall Manager policy that was created.
public PutPolicyResult withPolicy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
policy - The details of the AWS Firewall Manager policy that was created.public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
policyArn - The Amazon Resource Name (ARN) of the policy that was created.public String getPolicyArn()
The Amazon Resource Name (ARN) of the policy that was created.
public PutPolicyResult withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
policyArn - The Amazon Resource Name (ARN) of the policy that was created.public String toString()
toString in class ObjectObject.toString()public PutPolicyResult clone()
Copyright © 2018. All rights reserved.