Interface UpdateAppRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAppRequest.Builder,
,UpdateAppRequest> SdkBuilder<UpdateAppRequest.Builder,
,UpdateAppRequest> SdkPojo
,SdkRequest.Builder
,SmsRequest.Builder
- Enclosing class:
UpdateAppRequest
public static interface UpdateAppRequest.Builder
extends SmsRequest.Builder, SdkPojo, CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the application.description
(String description) The new description of the application.The new name of the application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the service role in the customer's account used by Server Migration Service.serverGroups
(Collection<ServerGroup> serverGroups) The server groups in the application to update.serverGroups
(Consumer<ServerGroup.Builder>... serverGroups) The server groups in the application to update.serverGroups
(ServerGroup... serverGroups) The server groups in the application to update.tags
(Collection<Tag> tags) The tags to associate with the application.tags
(Consumer<Tag.Builder>... tags) The tags to associate with the application.The tags to associate with the application.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsRequest.Builder
build
-
Method Details
-
appId
The ID of the application.
- Parameters:
appId
- The ID of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name of the application.
- Parameters:
name
- The new name of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description of the application.
- Parameters:
description
- The new description of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleName
The name of the service role in the customer's account used by Server Migration Service.
- Parameters:
roleName
- The name of the service role in the customer's account used by Server Migration Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
The server groups in the application to update.
- Parameters:
serverGroups
- The server groups in the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
The server groups in the application to update.
- Parameters:
serverGroups
- The server groups in the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
The server groups in the application to update.
This is a convenience method that creates an instance of theServerGroup.Builder
avoiding the need to create one manually viaServerGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverGroups(List<ServerGroup>)
.- Parameters:
serverGroups
- a consumer that will call methods onServerGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to associate with the application.
- Parameters:
tags
- The tags to associate with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the application.
- Parameters:
tags
- The tags to associate with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the application.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAppRequest.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
UpdateAppRequest.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.
-