@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSecurityPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetSecurityPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetSecurityPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the security policy.
|
String |
getType()
The type of security policy.
|
int |
hashCode() |
void |
setName(String name)
The name of the security policy.
|
void |
setType(String type)
The type of security policy.
|
String |
toString()
Returns a string representation of this object.
|
GetSecurityPolicyRequest |
withName(String name)
The name of the security policy.
|
GetSecurityPolicyRequest |
withType(SecurityPolicyType type)
The type of security policy.
|
GetSecurityPolicyRequest |
withType(String type)
The type of security policy.
|
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, withSdkRequestTimeoutpublic void setName(String name)
The name of the security policy.
name - The name of the security policy.public String getName()
The name of the security policy.
public GetSecurityPolicyRequest withName(String name)
The name of the security policy.
name - The name of the security policy.public void setType(String type)
The type of security policy.
type - The type of security policy.SecurityPolicyTypepublic String getType()
The type of security policy.
SecurityPolicyTypepublic GetSecurityPolicyRequest withType(String type)
The type of security policy.
type - The type of security policy.SecurityPolicyTypepublic GetSecurityPolicyRequest withType(SecurityPolicyType type)
The type of security policy.
type - The type of security policy.SecurityPolicyTypepublic String toString()
toString in class ObjectObject.toString()public GetSecurityPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()