public static interface CreateAppRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
Modifier and Type | Method and Description |
---|---|
CreateAppRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
|
CreateAppRequest.Builder |
description(String description)
Description of the new application
|
CreateAppRequest.Builder |
name(String name)
Name of the new application.
|
CreateAppRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateAppRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateAppRequest.Builder |
roleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
|
CreateAppRequest.Builder |
serverGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
|
CreateAppRequest.Builder |
serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
List of server groups to include in the application.
|
CreateAppRequest.Builder |
serverGroups(ServerGroup... serverGroups)
List of server groups to include in the application.
|
CreateAppRequest.Builder |
tags(Collection<Tag> tags)
List of tags to be associated with the application.
|
CreateAppRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
List of tags to be associated with the application.
|
CreateAppRequest.Builder |
tags(Tag... tags)
List of tags to be associated with the application.
|
build
overrideConfiguration
copy
applyMutation, build
CreateAppRequest.Builder name(String name)
Name of the new application.
name
- Name of the new application.CreateAppRequest.Builder description(String description)
Description of the new application
description
- Description of the new applicationCreateAppRequest.Builder roleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
roleName
- Name of service role in customer's account to be used by AWS SMS.CreateAppRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
clientToken
- A unique, case-sensitive identifier you provide to ensure idempotency of application creation.CreateAppRequest.Builder serverGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
serverGroups
- List of server groups to include in the application.CreateAppRequest.Builder serverGroups(ServerGroup... serverGroups)
List of server groups to include in the application.
serverGroups
- List of server groups to include in the application.CreateAppRequest.Builder serverGroups(Consumer<ServerGroup.Builder>... serverGroups)
List of server groups to include in 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 #serverGroups(List)
.serverGroups
- a consumer that will call methods on List.Builder
#serverGroups(List)
CreateAppRequest.Builder tags(Collection<Tag> tags)
List of tags to be associated with the application.
tags
- List of tags to be associated with the application.CreateAppRequest.Builder tags(Tag... tags)
List of tags to be associated with the application.
tags
- List of tags to be associated with the application.CreateAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
List of tags to be associated 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)
CreateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateAppRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.