@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
public void setAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
access
- An access object containing the permissions that shouldn't be granted by the specified policy. If only
actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the
policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the
specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of
the specified actions have access to the specified resources.public CheckAccessNotGrantedRequest withAccess(Access... access)
An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
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. If only
actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the
policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the
specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of
the specified actions have access to the specified resources.public CheckAccessNotGrantedRequest withAccess(Collection<Access> access)
An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
access
- An access object containing the permissions that shouldn't be granted by the specified policy. If only
actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the
policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the
specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of
the specified actions have access to the specified resources.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.
AccessCheckPolicyType
public 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.
AccessCheckPolicyType
public 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.
AccessCheckPolicyType
public 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.
AccessCheckPolicyType
public String toString()
toString
in class Object
Object.toString()
public CheckAccessNotGrantedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()