public static interface UpdateAppRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
Modifier and Type | Method and Description |
---|---|
UpdateAppRequest.Builder |
appId(String appId)
The ID of the application.
|
UpdateAppRequest.Builder |
description(String description)
The new description of the application.
|
UpdateAppRequest.Builder |
name(String name)
The new name of the application.
|
UpdateAppRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateAppRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateAppRequest.Builder |
roleName(String roleName)
The name of the service role in the customer's account used by AWS SMS.
|
UpdateAppRequest.Builder |
serverGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
|
UpdateAppRequest.Builder |
serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
The server groups in the application to update.
|
UpdateAppRequest.Builder |
serverGroups(ServerGroup... serverGroups)
The server groups in the application to update.
|
UpdateAppRequest.Builder |
tags(Collection<Tag> tags)
The tags to associate with the application.
|
UpdateAppRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to associate with the application.
|
UpdateAppRequest.Builder |
tags(Tag... tags)
The tags to associate with the application.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateAppRequest.Builder appId(String appId)
The ID of the application.
appId
- The ID of the application.UpdateAppRequest.Builder name(String name)
The new name of the application.
name
- The new name of the application.UpdateAppRequest.Builder description(String description)
The new description of the application.
description
- The new description of the application.UpdateAppRequest.Builder roleName(String roleName)
The name of the service role in the customer's account used by AWS SMS.
roleName
- The name of the service role in the customer's account used by AWS SMS.UpdateAppRequest.Builder serverGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
serverGroups
- The server groups in the application to update.UpdateAppRequest.Builder serverGroups(ServerGroup... serverGroups)
The server groups in the application to update.
serverGroups
- The server groups in the application to update.UpdateAppRequest.Builder serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
The server groups in the application to update.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #serverGroups(List)
.serverGroups
- a consumer that will call methods on List.Builder
#serverGroups(List)
UpdateAppRequest.Builder tags(Collection<Tag> tags)
The tags to associate with the application.
tags
- The tags to associate with the application.UpdateAppRequest.Builder tags(Tag... tags)
The tags to associate with the application.
tags
- The tags to associate with the application.UpdateAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to associate with the application.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.