Interface CreateSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> DirectoryRequest.Builder,SdkBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSnapshotRequest
@Mutable
@NotThreadSafe
public static interface CreateSnapshotRequest.Builder
extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId(String directoryId) The identifier of the directory of which to take a snapshot.The descriptive name to apply to the snapshot.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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.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
-
directoryId
The identifier of the directory of which to take a snapshot.
- Parameters:
directoryId- The identifier of the directory of which to take a snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The descriptive name to apply to the snapshot.
- Parameters:
name- The descriptive name to apply to the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSnapshotRequest.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
CreateSnapshotRequest.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.
-