public static interface AddTagsToOnPremisesInstancesRequest.Builder extends CodeDeployRequest.Builder, CopyableBuilder<AddTagsToOnPremisesInstancesRequest.Builder,AddTagsToOnPremisesInstancesRequest>
Modifier and Type | Method and Description |
---|---|
AddTagsToOnPremisesInstancesRequest.Builder |
instanceNames(Collection<String> instanceNames)
The names of the on-premises instances to which to add tags.
|
AddTagsToOnPremisesInstancesRequest.Builder |
instanceNames(String... instanceNames)
The names of the on-premises instances to which to add tags.
|
AddTagsToOnPremisesInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddTagsToOnPremisesInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddTagsToOnPremisesInstancesRequest.Builder |
tags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
|
AddTagsToOnPremisesInstancesRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag key-value pairs to add to the on-premises instances.
|
AddTagsToOnPremisesInstancesRequest.Builder |
tags(Tag... tags)
The tag key-value pairs to add to the on-premises instances.
|
build
overrideConfiguration
copy
applyMutation, build
AddTagsToOnPremisesInstancesRequest.Builder tags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
tags
- The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
AddTagsToOnPremisesInstancesRequest.Builder tags(Tag... tags)
The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
tags
- The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
AddTagsToOnPremisesInstancesRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
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)
AddTagsToOnPremisesInstancesRequest.Builder instanceNames(Collection<String> instanceNames)
The names of the on-premises instances to which to add tags.
instanceNames
- The names of the on-premises instances to which to add tags.AddTagsToOnPremisesInstancesRequest.Builder instanceNames(String... instanceNames)
The names of the on-premises instances to which to add tags.
instanceNames
- The names of the on-premises instances to which to add tags.AddTagsToOnPremisesInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddTagsToOnPremisesInstancesRequest.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.