Interface UpdateWorldTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWorldTemplateRequest.Builder,
,UpdateWorldTemplateRequest> RoboMakerRequest.Builder
,SdkBuilder<UpdateWorldTemplateRequest.Builder,
,UpdateWorldTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateWorldTemplateRequest
public static interface UpdateWorldTemplateRequest.Builder
extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorldTemplateRequest.Builder,UpdateWorldTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the template.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 world template to update.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
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 Details
-
template
The Amazon Resource Name (arn) of the world template to update.
- Parameters:
template
- The Amazon Resource Name (arn) of the world template to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the template.
- Parameters:
name
- The name of the 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 UpdateWorldTemplateRequest.Builder templateLocation(Consumer<TemplateLocation.Builder> templateLocation) The location of the world template.
This is a convenience method that creates an instance of theTemplateLocation.Builder
avoiding the need to create one manually viaTemplateLocation.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateWorldTemplateRequest.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
UpdateWorldTemplateRequest.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.
-