Interface CheckNoPublicAccessRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CheckNoPublicAccessRequest.Builder,,CheckNoPublicAccessRequest> SdkBuilder<CheckNoPublicAccessRequest.Builder,,CheckNoPublicAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CheckNoPublicAccessRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyDocument(String policyDocument) The JSON policy document to evaluate for public access.resourceType(String resourceType) The type of resource to evaluate for public access.resourceType(AccessCheckResourceType resourceType) The type of resource to evaluate for public access.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policyDocument
The JSON policy document to evaluate for public access.
- Parameters:
policyDocument- The JSON policy document to evaluate for public access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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::Bucketfor the resource type.For resource types not supported as valid values, IAM Access Analyzer will return an error.
- Parameters:
resourceType- The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can chooseAWS::S3::Bucketfor the resource type.For resource types not supported as valid values, IAM Access Analyzer will return an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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::Bucketfor the resource type.For resource types not supported as valid values, IAM Access Analyzer will return an error.
- Parameters:
resourceType- The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can chooseAWS::S3::Bucketfor the resource type.For resource types not supported as valid values, IAM Access Analyzer will return an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CheckNoPublicAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CheckNoPublicAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-