Interface CreatePolicyPreviewConfigurationRequest.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreatePolicyPreviewConfigurationRequest.Builder,,CreatePolicyPreviewConfigurationRequest> SdkBuilder<CreatePolicyPreviewConfigurationRequest.Builder,,CreatePolicyPreviewConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePolicyPreviewConfigurationRequest
@Mutable
@NotThreadSafe
public static interface CreatePolicyPreviewConfigurationRequest.Builder
extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<CreatePolicyPreviewConfigurationRequest.Builder,CreatePolicyPreviewConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The scope of the policy preview configuration.scope(PolicyPreviewScope scope) The scope of the policy preview 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, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request and have no additional effect.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request and have no additional effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the policy preview configuration. Currently only
GLOBALis supported.- Parameters:
scope- The scope of the policy preview configuration. Currently onlyGLOBALis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The scope of the policy preview configuration. Currently only
GLOBALis supported.- Parameters:
scope- The scope of the policy preview configuration. Currently onlyGLOBALis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePolicyPreviewConfigurationRequest.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
CreatePolicyPreviewConfigurationRequest.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.
-