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
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
Account
type andActive
status.- Parameters:
analyzerArn
- The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with anAccount
type andActive
status.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-