@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetAccessPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetAccessPolicyRequest |
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 access policy.
|
String |
getType()
Tye type of policy.
|
int |
hashCode() |
void |
setName(String name)
The name of the access policy.
|
void |
setType(String type)
Tye type of policy.
|
String |
toString()
Returns a string representation of this object.
|
GetAccessPolicyRequest |
withName(String name)
The name of the access policy.
|
GetAccessPolicyRequest |
withType(AccessPolicyType type)
Tye type of policy.
|
GetAccessPolicyRequest |
withType(String type)
Tye type of 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 access policy.
name - The name of the access policy.public String getName()
The name of the access policy.
public GetAccessPolicyRequest withName(String name)
The name of the access policy.
name - The name of the access policy.public void setType(String type)
Tye type of policy. Currently, the only supported value is data.
type - Tye type of policy. Currently, the only supported value is data.AccessPolicyTypepublic String getType()
Tye type of policy. Currently, the only supported value is data.
data.AccessPolicyTypepublic GetAccessPolicyRequest withType(String type)
Tye type of policy. Currently, the only supported value is data.
type - Tye type of policy. Currently, the only supported value is data.AccessPolicyTypepublic GetAccessPolicyRequest withType(AccessPolicyType type)
Tye type of policy. Currently, the only supported value is data.
type - Tye type of policy. Currently, the only supported value is data.AccessPolicyTypepublic String toString()
toString in class ObjectObject.toString()public GetAccessPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()