public static interface TagResourceRequest.Builder extends SecretsManagerRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
| Modifier and Type | Method and Description |
|---|---|
TagResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
TagResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
TagResourceRequest.Builder |
secretId(String secretId)
The identifier for the secret to attach tags to.
|
TagResourceRequest.Builder |
tags(Collection<Tag> tags)
The tags to attach to the secret as a JSON text string argument.
|
TagResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to attach to the secret as a JSON text string argument.
|
TagResourceRequest.Builder |
tags(Tag... tags)
The tags to attach to the secret as a JSON text string argument.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagResourceRequest.Builder secretId(String secretId)
The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
secretId - The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN)
or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
TagResourceRequest.Builder tags(Collection<Tag> tags)
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a
Key and a Value.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
tags - The tags to attach to the secret as a JSON text string argument. Each element in the list consists of
a Key and a Value.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
TagResourceRequest.Builder tags(Tag... tags)
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a
Key and a Value.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
tags - The tags to attach to the secret as a JSON text string argument. Each element in the list consists of
a Key and a Value.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
TagResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a
Key and a Value.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
This is a convenience method 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) TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.