Interface UpdateSnapshotPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSnapshotPolicyRequest.Builder,,UpdateSnapshotPolicyRequest> FSxRequest.Builder,SdkBuilder<UpdateSnapshotPolicyRequest.Builder,,UpdateSnapshotPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSnapshotPolicyRequest
@Mutable
@NotThreadSafe
public static interface UpdateSnapshotPolicyRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotPolicyRequest.Builder,UpdateSnapshotPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.Specifies whether the snapshot policy is enabled.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotPolicyId(String snapshotPolicyId) The ID of the snapshot policy that you want to update.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.fsx.model.FSxRequest.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
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotPolicyId
The ID of the snapshot policy that you want to update.
- Parameters:
snapshotPolicyId- The ID of the snapshot policy that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether the snapshot policy is enabled.
- Parameters:
enabled- Specifies whether the snapshot policy is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSnapshotPolicyRequest.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
UpdateSnapshotPolicyRequest.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.
-