Interface StartSimulationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartSimulationRequest.Builder,
,StartSimulationRequest> SdkBuilder<StartSimulationRequest.Builder,
,StartSimulationRequest> SdkPojo
,SdkRequest.Builder
,SimSpaceWeaverRequest.Builder
- Enclosing class:
StartSimulationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once.description
(String description) The description of the simulation.maximumDuration
(String maximumDuration) The maximum running time of the simulation, specified as a number of minutes (m or M), hours (h or H), or days (d or D).The name of the simulation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions.default StartSimulationRequest.Builder
schemaS3Location
(Consumer<S3Location.Builder> schemaS3Location) The location of the simulation schema in Amazon Simple Storage Service (Amazon S3).schemaS3Location
(S3Location schemaS3Location) The location of the simulation schema in Amazon Simple Storage Service (Amazon S3).default StartSimulationRequest.Builder
snapshotS3Location
(Consumer<S3Location.Builder> snapshotS3Location) The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3).snapshotS3Location
(S3Location snapshotS3Location) The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3).A list of tags for 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
-
clientToken
A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A
ClientToken
is also known as an idempotency token. AClientToken
expires after 24 hours.- Parameters:
clientToken
- A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. AClientToken
is also known as an idempotency token. AClientToken
expires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the simulation.
- Parameters:
description
- The description of the simulation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumDuration
The maximum running time of the simulation, specified as a number of minutes (m or M), hours (h or H), or days (d or D). The simulation stops when it reaches this limit. The maximum value is
14D
, or its equivalent in the other units. The default value is14D
. A value equivalent to0
makes the simulation immediately transition toStopping
as soon as it reachesStarted
.- Parameters:
maximumDuration
- The maximum running time of the simulation, specified as a number of minutes (m or M), hours (h or H), or days (d or D). The simulation stops when it reaches this limit. The maximum value is14D
, or its equivalent in the other units. The default value is14D
. A value equivalent to0
makes the simulation immediately transition toStopping
as soon as it reachesStarted
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the simulation.
- Parameters:
name
- The name of the simulation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. For more information about IAM roles, see IAM roles in the Identity and Access Management User Guide.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. For more information about IAM roles, see IAM roles in the Identity and Access Management User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaS3Location
The location of the simulation schema in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .
Provide a
SchemaS3Location
to start your simulation from a schema.If you provide a
SchemaS3Location
then you can't provide aSnapshotS3Location
.- Parameters:
schemaS3Location
- The location of the simulation schema in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .Provide a
SchemaS3Location
to start your simulation from a schema.If you provide a
SchemaS3Location
then you can't provide aSnapshotS3Location
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaS3Location
default StartSimulationRequest.Builder schemaS3Location(Consumer<S3Location.Builder> schemaS3Location) The location of the simulation schema in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .
Provide a
SchemaS3Location
to start your simulation from a schema.If you provide a
This is a convenience method that creates an instance of theSchemaS3Location
then you can't provide aSnapshotS3Location
.S3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaS3Location(S3Location)
.- Parameters:
schemaS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshotS3Location
The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .
Provide a
SnapshotS3Location
to start your simulation from a snapshot.The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
If you provide a
SnapshotS3Location
then you can't provide aSchemaS3Location
.- Parameters:
snapshotS3Location
- The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .Provide a
SnapshotS3Location
to start your simulation from a snapshot.The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
If you provide a
SnapshotS3Location
then you can't provide aSchemaS3Location
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotS3Location
default StartSimulationRequest.Builder snapshotS3Location(Consumer<S3Location.Builder> snapshotS3Location) The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .
Provide a
SnapshotS3Location
to start your simulation from a snapshot.The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.
If you provide a
This is a convenience method that creates an instance of theSnapshotS3Location
then you can't provide aSchemaS3Location
.S3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotS3Location(S3Location)
.- Parameters:
snapshotS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags for the simulation. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
- Parameters:
tags
- A list of tags for the simulation. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartSimulationRequest.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
StartSimulationRequest.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.
-