@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyId()
The ID of the Firewall Manager policy that you want the details for.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
The ID of the Firewall Manager policy that you want the details for.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyRequest |
withPolicyId(String policyId)
The ID of the Firewall Manager policy that you want the details for.
|
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 setPolicyId(String policyId)
The ID of the Firewall Manager policy that you want the details for.
policyId
- The ID of the Firewall Manager policy that you want the details for.public String getPolicyId()
The ID of the Firewall Manager policy that you want the details for.
public GetPolicyRequest withPolicyId(String policyId)
The ID of the Firewall Manager policy that you want the details for.
policyId
- The ID of the Firewall Manager policy that you want the details for.public String toString()
toString
in class Object
Object.toString()
public GetPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()