@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckNoNewAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CheckNoNewAccessRequest() |
| Modifier and Type | Method and Description |
|---|---|
CheckNoNewAccessRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getExistingPolicyDocument()
The JSON policy document to use as the content for the existing policy.
|
String |
getNewPolicyDocument()
The JSON policy document to use as the content for the updated policy.
|
String |
getPolicyType()
The type of policy to compare.
|
int |
hashCode() |
void |
setExistingPolicyDocument(String existingPolicyDocument)
The JSON policy document to use as the content for the existing policy.
|
void |
setNewPolicyDocument(String newPolicyDocument)
The JSON policy document to use as the content for the updated policy.
|
void |
setPolicyType(String policyType)
The type of policy to compare.
|
String |
toString()
Returns a string representation of this object.
|
CheckNoNewAccessRequest |
withExistingPolicyDocument(String existingPolicyDocument)
The JSON policy document to use as the content for the existing policy.
|
CheckNoNewAccessRequest |
withNewPolicyDocument(String newPolicyDocument)
The JSON policy document to use as the content for the updated policy.
|
CheckNoNewAccessRequest |
withPolicyType(AccessCheckPolicyType policyType)
The type of policy to compare.
|
CheckNoNewAccessRequest |
withPolicyType(String policyType)
The type of policy to compare.
|
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 setNewPolicyDocument(String newPolicyDocument)
The JSON policy document to use as the content for the updated policy.
newPolicyDocument - The JSON policy document to use as the content for the updated policy.public String getNewPolicyDocument()
The JSON policy document to use as the content for the updated policy.
public CheckNoNewAccessRequest withNewPolicyDocument(String newPolicyDocument)
The JSON policy document to use as the content for the updated policy.
newPolicyDocument - The JSON policy document to use as the content for the updated policy.public void setExistingPolicyDocument(String existingPolicyDocument)
The JSON policy document to use as the content for the existing policy.
existingPolicyDocument - The JSON policy document to use as the content for the existing policy.public String getExistingPolicyDocument()
The JSON policy document to use as the content for the existing policy.
public CheckNoNewAccessRequest withExistingPolicyDocument(String existingPolicyDocument)
The JSON policy document to use as the content for the existing policy.
existingPolicyDocument - The JSON policy document to use as the content for the existing policy.public void setPolicyType(String policyType)
The type of policy to compare. 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 to compare. 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 to compare. 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 CheckNoNewAccessRequest withPolicyType(String policyType)
The type of policy to compare. 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 to compare. 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 CheckNoNewAccessRequest withPolicyType(AccessCheckPolicyType policyType)
The type of policy to compare. 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 to compare. 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 CheckNoNewAccessRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()