Interface CreateSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> SdkBuilder<CreateSnapshotRequest.Builder,,CreateSnapshotRequest> SdkPojo,SdkRequest.Builder,SimSpaceWeaverRequest.Builder
- Enclosing class:
CreateSnapshotRequest
public static interface CreateSnapshotRequest.Builder
extends SimSpaceWeaverRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSnapshotRequest.Builderdestination(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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaS3Destination.builder().When the
Consumercompletes,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.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.
-