@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.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the policy.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
The details of the AWS Firewall Manager policy.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutPolicyResult |
withPolicy(Policy policy)
The details of the AWS Firewall Manager policy.
|
PutPolicyResult |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(Policy policy)
The details of the AWS Firewall Manager policy.
policy
- The details of the AWS Firewall Manager policy.public Policy getPolicy()
The details of the AWS Firewall Manager policy.
public PutPolicyResult withPolicy(Policy policy)
The details of the AWS Firewall Manager policy.
policy
- The details of the AWS Firewall Manager policy.public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
policyArn
- The Amazon Resource Name (ARN) of the policy.public String getPolicyArn()
The Amazon Resource Name (ARN) of the policy.
public PutPolicyResult withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
policyArn
- The Amazon Resource Name (ARN) of the policy.public String toString()
toString
in class Object
Object.toString()
public PutPolicyResult clone()