public static interface TagResourceRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
Modifier and Type | Method and Description |
---|---|
TagResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
TagResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
TagResourceRequest.Builder |
resourceArn(String resourceArn)
The stack or layer's Amazon Resource Number (ARN).
|
TagResourceRequest.Builder |
tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a stack or layer.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
TagResourceRequest.Builder resourceArn(String resourceArn)
The stack or layer's Amazon Resource Number (ARN).
resourceArn
- The stack or layer's Amazon Resource Number (ARN).TagResourceRequest.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a stack or layer.
The key cannot be empty.
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or
the following special characters: + - = . _ : /
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the
following special characters: + - = . _ : /
Leading and trailing white spaces are trimmed from both the key and value.
A maximum of 40 tags is allowed for any resource.
tags
- A map that contains tag keys and tag values that are attached to a stack or layer.
The key cannot be empty.
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or
separators, or the following special characters: + - = . _ : /
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators,
or the following special characters: + - = . _ : /
Leading and trailing white spaces are trimmed from both the key and value.
A maximum of 40 tags is allowed for any resource.
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TagResourceRequest.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 © 2021 Amazon Web Services, Inc. All Rights Reserved.