public static interface AddTagsToOnPremisesInstancesRequest.Builder extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<AddTagsToOnPremisesInstancesRequest.Builder,AddTagsToOnPremisesInstancesRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsToOnPremisesInstancesRequest.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 method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) 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)
overrideConfiguration in interface AwsRequest.BuilderAddTagsToOnPremisesInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.