@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Policy |
getPolicy()
The details of the AWS Firewall Manager policy to be created.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
|
String |
toString()
Returns a string representation of this object.
|
PutPolicyRequest |
withPolicy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPolicy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
policy
- The details of the AWS Firewall Manager policy to be created.public Policy getPolicy()
The details of the AWS Firewall Manager policy to be created.
public PutPolicyRequest withPolicy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
policy
- The details of the AWS Firewall Manager policy to be created.public String toString()
toString
in class Object
Object.toString()
public PutPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.