Interface CreateAppRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>,SdkBuilder<CreateAppRequest.Builder,CreateAppRequest>,SdkPojo,SdkRequest.Builder,SmsRequest.Builder
- Enclosing class:
- CreateAppRequest
public static interface CreateAppRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAppRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.CreateAppRequest.Builderdescription(String description)The description of the new applicationCreateAppRequest.Buildername(String name)The name of the new application.CreateAppRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAppRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAppRequest.BuilderroleName(String roleName)The name of the service role in the customer's account to be used by Server Migration Service.CreateAppRequest.BuilderserverGroups(Collection<ServerGroup> serverGroups)The server groups to include in the application.CreateAppRequest.BuilderserverGroups(Consumer<ServerGroup.Builder>... serverGroups)The server groups to include in the application.CreateAppRequest.BuilderserverGroups(ServerGroup... serverGroups)The server groups to include in the application.CreateAppRequest.Buildertags(Collection<Tag> tags)The tags to be associated with the application.CreateAppRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to be associated with the application.CreateAppRequest.Buildertags(Tag... tags)The tags to be associated 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
-
name
CreateAppRequest.Builder name(String name)
The name of the new application.
- Parameters:
name- The name of the new application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateAppRequest.Builder description(String description)
The description of the new application
- Parameters:
description- The description of the new application- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleName
CreateAppRequest.Builder roleName(String roleName)
The name of the service role in the customer's account to be used by Server Migration Service.
- Parameters:
roleName- The name of the service role in the customer's account to be used by Server Migration Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateAppRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
CreateAppRequest.Builder serverGroups(Collection<ServerGroup> serverGroups)
The server groups to include in the application.
- Parameters:
serverGroups- The server groups to include in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
CreateAppRequest.Builder serverGroups(ServerGroup... serverGroups)
The server groups to include in the application.
- Parameters:
serverGroups- The server groups to include in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroups
CreateAppRequest.Builder serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
The server groups to include in the application.
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
CreateAppRequest.Builder tags(Collection<Tag> tags)
The tags to be associated with the application.
- Parameters:
tags- The tags to be associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAppRequest.Builder tags(Tag... tags)
The tags to be associated with the application.
- Parameters:
tags- The tags to be associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be associated 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
CreateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-