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 (name) of a tag.
|
Tag.Builder |
value(String value) |
The value of a tag.
|
copy
apply, build
Tag.Builder key(String key)
The key (name) of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
Constraints: Each key can be 1-128 characters long.
key
- The key (name) of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
Constraints: Each key can be 1-128 characters long.
Tag.Builder value(String value)
The value of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
Constraints: Each value can be 0-256 characters long.
value
- The value of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"
Constraints: Each value can be 0-256 characters long.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.