Interface Tag.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Tag.Builder,Tag>,SdkBuilder<Tag.Builder,Tag>,SdkPojo
- Enclosing class:
- Tag
public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tag.Builderkey(String key)A tag key, such asStageorName.Tag.Buildervalue(String value)An optional tag value, such asProductionortest-owcm-server.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
key
Tag.Builder key(String key)
A tag key, such as
StageorName. A tag key cannot be empty. The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:+ - = . _ : /- Parameters:
key- A tag key, such asStageorName. A tag key cannot be empty. The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:+ - = . _ : /- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Tag.Builder value(String value)
An optional tag value, such as
Productionortest-owcm-server. The value can be a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:+ - = . _ : /- Parameters:
value- An optional tag value, such asProductionortest-owcm-server. The value can be a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:+ - = . _ : /- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-