Interface CreateWorldTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorldTemplateRequest.Builder,CreateWorldTemplateRequest>,RoboMakerRequest.Builder,SdkBuilder<CreateWorldTemplateRequest.Builder,CreateWorldTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWorldTemplateRequest
public static interface CreateWorldTemplateRequest.Builder extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateWorldTemplateRequest.Builder,CreateWorldTemplateRequest>
-
-
Method Summary
-
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.services.robomaker.model.RoboMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
CreateWorldTemplateRequest.Builder clientRequestToken(String 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
CreateWorldTemplateRequest.Builder name(String 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
CreateWorldTemplateRequest.Builder templateBody(String 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
CreateWorldTemplateRequest.Builder templateLocation(TemplateLocation 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:
templateLocation(TemplateLocation)
-
tags
CreateWorldTemplateRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorldTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-