@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.
|
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, setSdkResponseMetadata
public 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 Object
Object.toString()
public PutPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.