Interface CreateSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSnapshotRequest.Builder,
,CreateSnapshotRequest> SdkBuilder<CreateSnapshotRequest.Builder,
,CreateSnapshotRequest> SdkPojo
,SdkRequest.Builder
,SimSpaceWeaverRequest.Builder
- Enclosing class:
CreateSnapshotRequest
@Mutable
@NotThreadSafe
public static interface CreateSnapshotRequest.Builder
extends SimSpaceWeaverRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSnapshotRequest.Builder
destination
(Consumer<S3Destination.Builder> destination) The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.destination
(S3Destination destination) The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.simulation
(String simulation) The name of the simulation.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.simspaceweaver.model.SimSpaceWeaverRequest.Builder
build
-
Method Details
-
destination
The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.
The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
- Parameters:
destination
- The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.
The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
This is a convenience method that creates an instance of theS3Destination.Builder
avoiding the need to create one manually viaS3Destination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(S3Destination)
.- Parameters:
destination
- a consumer that will call methods onS3Destination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
simulation
The name of the simulation.
- Parameters:
simulation
- The name of the simulation.- 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.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
CreateSnapshotRequest.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.
-