Interface AddTagsToOnPremisesInstancesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<AddTagsToOnPremisesInstancesRequest.Builder,AddTagsToOnPremisesInstancesRequest>,SdkBuilder<AddTagsToOnPremisesInstancesRequest.Builder,AddTagsToOnPremisesInstancesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddTagsToOnPremisesInstancesRequest
public static interface AddTagsToOnPremisesInstancesRequest.Builder extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<AddTagsToOnPremisesInstancesRequest.Builder,AddTagsToOnPremisesInstancesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
tags
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.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)
-
instanceNames
AddTagsToOnPremisesInstancesRequest.Builder instanceNames(Collection<String> instanceNames)
The names of the on-premises instances to which to add tags.
- Parameters:
instanceNames- The names of the on-premises instances to which to add tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceNames
AddTagsToOnPremisesInstancesRequest.Builder instanceNames(String... instanceNames)
The names of the on-premises instances to which to add tags.
- Parameters:
instanceNames- The names of the on-premises instances to which to add tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddTagsToOnPremisesInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddTagsToOnPremisesInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-