public static interface CreateClusterRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest.Builder |
clusterName(String clusterName)
The name of your cluster.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateClusterRequest.Builder |
tags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
CreateClusterRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
CreateClusterRequest.Builder |
tags(Tag... tags)
The metadata that you apply to the cluster to help you categorize and organize them.
|
build
overrideConfiguration
copy
applyMutation, build
CreateClusterRequest.Builder clusterName(String clusterName)
The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default
. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are
allowed.
clusterName
- The name of your cluster. If you do not specify a name for your cluster, you create a cluster named
default
. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores
are allowed.CreateClusterRequest.Builder tags(Collection<Tag> tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists
of a key and an optional value, both of which you define. Tag keys can have a maximum character length
of 128 characters, and tag values can have a maximum length of 256 characters.CreateClusterRequest.Builder tags(Tag... tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists
of a key and an optional value, both of which you define. Tag keys can have a maximum character length
of 128 characters, and tag values can have a maximum length of 256 characters.CreateClusterRequest.Builder tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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)
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClusterRequest.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.