@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckNoPublicAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CheckNoPublicAccessRequest() |
Modifier and Type | Method and Description |
---|---|
CheckNoPublicAccessRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The JSON policy document to evaluate for public access.
|
String |
getResourceType()
The type of resource to evaluate for public access.
|
int |
hashCode() |
void |
setPolicyDocument(String policyDocument)
The JSON policy document to evaluate for public access.
|
void |
setResourceType(String resourceType)
The type of resource to evaluate for public access.
|
String |
toString()
Returns a string representation of this object.
|
CheckNoPublicAccessRequest |
withPolicyDocument(String policyDocument)
The JSON policy document to evaluate for public access.
|
CheckNoPublicAccessRequest |
withResourceType(AccessCheckResourceType resourceType)
The type of resource to evaluate for public access.
|
CheckNoPublicAccessRequest |
withResourceType(String resourceType)
The type of resource to evaluate for public access.
|
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 evaluate for public access.
policyDocument
- The JSON policy document to evaluate for public access.public String getPolicyDocument()
The JSON policy document to evaluate for public access.
public CheckNoPublicAccessRequest withPolicyDocument(String policyDocument)
The JSON policy document to evaluate for public access.
policyDocument
- The JSON policy document to evaluate for public access.public void setResourceType(String resourceType)
The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets,
you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
resourceType
- The type of resource to evaluate for public access. For example, to check for public access to Amazon S3
buckets, you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
AccessCheckResourceType
public String getResourceType()
The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets,
you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
AccessCheckResourceType
public CheckNoPublicAccessRequest withResourceType(String resourceType)
The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets,
you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
resourceType
- The type of resource to evaluate for public access. For example, to check for public access to Amazon S3
buckets, you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
AccessCheckResourceType
public CheckNoPublicAccessRequest withResourceType(AccessCheckResourceType resourceType)
The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets,
you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
resourceType
- The type of resource to evaluate for public access. For example, to check for public access to Amazon S3
buckets, you can choose AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.
AccessCheckResourceType
public String toString()
toString
in class Object
Object.toString()
public CheckNoPublicAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()