Interface StartSimulationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSimulationRequest.Builder,StartSimulationRequest>,SdkBuilder<StartSimulationRequest.Builder,StartSimulationRequest>,SdkPojo,SdkRequest.Builder,SimSpaceWeaverRequest.Builder
- Enclosing class:
- StartSimulationRequest
public static interface StartSimulationRequest.Builder extends SimSpaceWeaverRequest.Builder, SdkPojo, CopyableBuilder<StartSimulationRequest.Builder,StartSimulationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartSimulationRequest.BuilderclientToken(String clientToken)A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once.StartSimulationRequest.Builderdescription(String description)The description of the simulation.StartSimulationRequest.BuildermaximumDuration(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).StartSimulationRequest.Buildername(String name)The name of the simulation.StartSimulationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartSimulationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartSimulationRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions.default StartSimulationRequest.BuilderschemaS3Location(Consumer<S3Location.Builder> schemaS3Location)The location of the simulation schema in Amazon Simple Storage Service (Amazon S3).StartSimulationRequest.BuilderschemaS3Location(S3Location schemaS3Location)The location of the simulation schema in Amazon Simple Storage Service (Amazon S3).default StartSimulationRequest.BuildersnapshotS3Location(Consumer<S3Location.Builder> snapshotS3Location)The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3).StartSimulationRequest.BuildersnapshotS3Location(S3Location snapshotS3Location)The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3).StartSimulationRequest.Buildertags(Map<String,String> tags)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 Detail
-
clientToken
StartSimulationRequest.Builder clientToken(String clientToken)
A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A
ClientTokenis also known as an idempotency token. AClientTokenexpires 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. AClientTokenis also known as an idempotency token. AClientTokenexpires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
StartSimulationRequest.Builder description(String 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
StartSimulationRequest.Builder 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 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 to0makes the simulation immediately transition toStoppingas 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 to0makes the simulation immediately transition toStoppingas soon as it reachesStarted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
StartSimulationRequest.Builder name(String 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
StartSimulationRequest.Builder roleArn(String 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
StartSimulationRequest.Builder schemaS3Location(S3Location 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
SchemaS3Locationto start your simulation from a schema.If you provide a
SchemaS3Locationthen 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
SchemaS3Locationto start your simulation from a schema.If you provide a
SchemaS3Locationthen 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
SchemaS3Locationto start your simulation from a schema.If you provide a
This is a convenience method that creates an instance of theSchemaS3Locationthen you can't provide aSnapshotS3Location.S3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
schemaS3Location(S3Location)
-
snapshotS3Location
StartSimulationRequest.Builder snapshotS3Location(S3Location 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
SnapshotS3Locationto 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
SnapshotS3Locationthen 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
SnapshotS3Locationto 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
SnapshotS3Locationthen 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
SnapshotS3Locationto 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 theSnapshotS3Locationthen you can't provide aSchemaS3Location.S3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
snapshotS3Location(S3Location)
-
tags
StartSimulationRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSimulationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-