@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckAccessNotGrantedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CheckAccessNotGrantedRequest() |
| Modifier and Type | Method and Description |
|---|---|
CheckAccessNotGrantedRequest |
clone() |
boolean |
equals(Object obj) |
List<Access> |
getAccess()
An access object containing the permissions that shouldn't be granted by the specified policy.
|
String |
getPolicyDocument()
The JSON policy document to use as the content for the policy.
|
String |
getPolicyType()
The type of policy.
|
int |
hashCode() |
void |
setAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy.
|
void |
setPolicyDocument(String policyDocument)
The JSON policy document to use as the content for the policy.
|
void |
setPolicyType(String policyType)
The type of policy.
|
String |
toString()
Returns a string representation of this object.
|
CheckAccessNotGrantedRequest |
withAccess(Access... access)
An access object containing the permissions that shouldn't be granted by the specified policy.
|
CheckAccessNotGrantedRequest |
withAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy.
|
CheckAccessNotGrantedRequest |
withPolicyDocument(String policyDocument)
The JSON policy document to use as the content for the policy.
|
CheckAccessNotGrantedRequest |
withPolicyType(AccessCheckPolicyType policyType)
The type of policy.
|
CheckAccessNotGrantedRequest |
withPolicyType(String policyType)
The type of policy.
|
addHandlerContext, copyBaseTo, 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 setPolicyDocument(String policyDocument)
The JSON policy document to use as the content for the policy.
policyDocument - The JSON policy document to use as the content for the policy.public String getPolicyDocument()
The JSON policy document to use as the content for the policy.
public CheckAccessNotGrantedRequest withPolicyDocument(String policyDocument)
The JSON policy document to use as the content for the policy.
policyDocument - The JSON policy document to use as the content for the policy.public List<Access> getAccess()
An access object containing the permissions that shouldn't be granted by the specified policy.
public void setAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy.
access - An access object containing the permissions that shouldn't be granted by the specified policy.public CheckAccessNotGrantedRequest withAccess(Access... access)
An access object containing the permissions that shouldn't be granted by the specified policy.
NOTE: This method appends the values to the existing list (if any). Use
setAccess(java.util.Collection) or withAccess(java.util.Collection) if you want to override the
existing values.
access - An access object containing the permissions that shouldn't be granted by the specified policy.public CheckAccessNotGrantedRequest withAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy.
access - An access object containing the permissions that shouldn't be granted by the specified policy.public void setPolicyType(String policyType)
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
policyType - The type of policy. Identity policies grant permissions to IAM principals. Identity policies include
managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
AccessCheckPolicyTypepublic String getPolicyType()
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
AccessCheckPolicyTypepublic CheckAccessNotGrantedRequest withPolicyType(String policyType)
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
policyType - The type of policy. Identity policies grant permissions to IAM principals. Identity policies include
managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
AccessCheckPolicyTypepublic CheckAccessNotGrantedRequest withPolicyType(AccessCheckPolicyType policyType)
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
policyType - The type of policy. Identity policies grant permissions to IAM principals. Identity policies include
managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
AccessCheckPolicyTypepublic String toString()
toString in class ObjectObject.toString()public CheckAccessNotGrantedRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.