Interface CreatePolicySnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePolicySnapshotRequest.Builder,,CreatePolicySnapshotRequest> NetworkSecurityManagerRequest.Builder,SdkBuilder<CreatePolicySnapshotRequest.Builder,,CreatePolicySnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePolicySnapshotRequest
@Mutable
@NotThreadSafe
public static interface CreatePolicySnapshotRequest.Builder
extends NetworkSecurityManagerRequest.Builder, SdkPojo, CopyableBuilder<CreatePolicySnapshotRequest.Builder,CreatePolicySnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyIdentifier(String policyIdentifier) The identifier of the policy.The tags to add to the snapshot when it is created.Methods 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.services.networksecuritymanager.model.NetworkSecurityManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyIdentifier
The identifier of the policy. This is the policy's Amazon Resource Name (ARN).
- Parameters:
policyIdentifier- The identifier of the policy. This is the policy's Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.
- Parameters:
clientToken- A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the snapshot when it is created.
- Parameters:
tags- The tags to add to the snapshot when it is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePolicySnapshotRequest.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
CreatePolicySnapshotRequest.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.
-