CopyableBuilder<Tag.Builder,Tag>
, SdkBuilder<Tag.Builder,Tag>
public static interface Tag.Builder extends CopyableBuilder<Tag.Builder,Tag>
Modifier and Type | Method | Description |
---|---|---|
Tag.Builder |
key(String key) |
The key in a key-value pair.
|
Tag.Builder |
value(String value) |
The value in a key-value pair of a tag.
|
copy
apply, build
Tag.Builder key(String key)
The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.
key
- The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key
must be unique for the resource to which it applies.Tag.Builder value(String value)
The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.
value
- The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.