@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, withSdkRequestTimeout
public 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
.AccessPolicyType
public String getType()
Tye type of policy. Currently, the only supported value is data
.
data
.AccessPolicyType
public 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
.AccessPolicyType
public 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
.AccessPolicyType
public String toString()
toString
in class Object
Object.toString()
public GetAccessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()