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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAppRequest.BuilderappId(String appId)The ID of the application.UpdateAppRequest.Builderdescription(String description)The new description of the application.UpdateAppRequest.Buildername(String name)The new name of the application.UpdateAppRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAppRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateAppRequest.BuilderroleName(String roleName)The name of the service role in the customer's account used by Server Migration Service.UpdateAppRequest.BuilderserverGroups(Collection<ServerGroup> serverGroups)The server groups in the application to update.UpdateAppRequest.BuilderserverGroups(Consumer<ServerGroup.Builder>... serverGroups)The server groups in the application to update.UpdateAppRequest.BuilderserverGroups(ServerGroup... serverGroups)The server groups in the application to update.UpdateAppRequest.Buildertags(Collection<Tag> tags)The tags to associate with the application.UpdateAppRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to associate with the application.UpdateAppRequest.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsRequest.Builder
build
-
-
-
-
Method Detail
-
appId
UpdateAppRequest.Builder appId(String 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
UpdateAppRequest.Builder name(String 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
UpdateAppRequest.Builder description(String 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
UpdateAppRequest.Builder roleName(String 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
UpdateAppRequest.Builder serverGroups(Collection<ServerGroup> 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
UpdateAppRequest.Builder serverGroups(ServerGroup... 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
UpdateAppRequest.Builder serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
The server groups in the application to update.
This is a convenience method that creates an instance of theServerGroup.Builderavoiding the need to create one manually viaServerGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serverGroups(List.) - 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:
#serverGroups(java.util.Collection)
-
tags
UpdateAppRequest.Builder tags(Collection<Tag> 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
UpdateAppRequest.Builder tags(Tag... 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
UpdateAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to associate with the application.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-