public static interface TagUserRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<TagUserRequest.Builder,TagUserRequest>
| Modifier and Type | Method and Description |
|---|---|
TagUserRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
TagUserRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
TagUserRequest.Builder |
tags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM user.
|
TagUserRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags that you want to attach to the IAM user.
|
TagUserRequest.Builder |
tags(Tag... tags)
The list of tags that you want to attach to the IAM user.
|
TagUserRequest.Builder |
userName(String userName)
The name of the IAM user to which you want to add tags.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTagUserRequest.Builder userName(String userName)
The name of the IAM user to which you want to add tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the IAM user to which you want to add tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
TagUserRequest.Builder tags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an
associated value.TagUserRequest.Builder tags(Tag... tags)
The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an
associated value.TagUserRequest.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.
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) TagUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTagUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.