public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
| Modifier and Type | Method and Description |
|---|---|
Tag.Builder |
key(String key)
The first part of a key:value pair that forms a tag associated with a given resource.
|
Tag.Builder |
value(String value)
The second part of a key:value pair that forms a tag associated with a given resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTag.Builder key(String key)
The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag
Department:Sales, the key is 'Department'.
key - The first part of a key:value pair that forms a tag associated with a given resource. For example, in
the tag Department:Sales, the key is 'Department'.Tag.Builder value(String value)
The second part of a key:value pair that forms a tag associated with a given resource. For example, in the
tag Department:Sales, the value is 'Sales'.
Note that you can set the value of a tag to an empty string, but you can't set the value of a tag to null. Omitting the tag value is the same as using an empty string.
value - The second part of a key:value pair that forms a tag associated with a given resource. For example, in
the tag Department:Sales, the value is 'Sales'.
Note that you can set the value of a tag to an empty string, but you can't set the value of a tag to null. Omitting the tag value is the same as using an empty string.
Copyright © 2022. All rights reserved.