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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSnapshotRequest.Builderdestination(Consumer<S3Destination.Builder> destination)The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.CreateSnapshotRequest.Builderdestination(S3Destination destination)The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.CreateSnapshotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSnapshotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSnapshotRequest.Buildersimulation(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 Detail
-
destination
CreateSnapshotRequest.Builder destination(S3Destination 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
default CreateSnapshotRequest.Builder destination(Consumer<S3Destination.Builder> 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:
destination(S3Destination)
-
simulation
CreateSnapshotRequest.Builder simulation(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-