Interface CreateAccessPreviewRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAccessPreviewRequest.Builder,,CreateAccessPreviewRequest> SdkBuilder<CreateAccessPreviewRequest.Builder,,CreateAccessPreviewRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAccessPreviewRequest
public static interface CreateAccessPreviewRequest.Builder
extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessPreviewRequest.Builder,CreateAccessPreviewRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanalyzerArn(String analyzerArn) The ARN of the account analyzer used to generate the access preview.clientToken(String clientToken) A client token.configurations(Map<String, Configuration> configurations) Access control configuration for your resource that is used to generate the access preview.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
analyzerArn
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an
Accounttype andActivestatus.- Parameters:
analyzerArn- The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with anAccounttype andActivestatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
- Parameters:
configurations- Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A client token.
- Parameters:
clientToken- A client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAccessPreviewRequest.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
CreateAccessPreviewRequest.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.
-