Interface CreateWorldTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorldTemplateRequest.Builder,,CreateWorldTemplateRequest> RoboMakerRequest.Builder,SdkBuilder<CreateWorldTemplateRequest.Builder,,CreateWorldTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorldTemplateRequest
@Mutable
@NotThreadSafe
public static interface CreateWorldTemplateRequest.Builder
extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateWorldTemplateRequest.Builder,CreateWorldTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the world template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map that contains tag keys and tag values that are attached to the world template.templateBody(String templateBody) The world template body.templateLocation(Consumer<TemplateLocation.Builder> templateLocation) The location of the world template.templateLocation(TemplateLocation templateLocation) The location of the world template.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.services.robomaker.model.RoboMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the world template.
- Parameters:
name- The name of the world template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateBody
The world template body.
- Parameters:
templateBody- The world template body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateLocation
The location of the world template.
- Parameters:
templateLocation- The location of the world template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateLocation
default CreateWorldTemplateRequest.Builder templateLocation(Consumer<TemplateLocation.Builder> templateLocation) The location of the world template.
This is a convenience method that creates an instance of theTemplateLocation.Builderavoiding the need to create one manually viaTemplateLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateLocation(TemplateLocation).- Parameters:
templateLocation- a consumer that will call methods onTemplateLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map that contains tag keys and tag values that are attached to the world template.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to the world template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorldTemplateRequest.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
CreateWorldTemplateRequest.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.
-