Interface UpdateWorldTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorldTemplateRequest.Builder,,UpdateWorldTemplateRequest> RoboMakerRequest.Builder,SdkBuilder<UpdateWorldTemplateRequest.Builder,,UpdateWorldTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorldTemplateRequest
@Mutable
@NotThreadSafe
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
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
-
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.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:
-
overrideConfiguration
UpdateWorldTemplateRequest.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
UpdateWorldTemplateRequest.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.
-