Interface Tag.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tag.Builder,,Tag> SdkBuilder<Tag.Builder,,Tag> SdkPojo
- Enclosing class:
- Tag
@Mutable
@NotThreadSafe
public static interface Tag.Builder
extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
-
Method Summary
Modifier and TypeMethodDescriptionThe key name that can be used to look up or retrieve the associated value.The value associated with this tag.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The key name that can be used to look up or retrieve the associated value. For example,
DepartmentorCost Centerare common choices.- Parameters:
key- The key name that can be used to look up or retrieve the associated value. For example,DepartmentorCost Centerare common choices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value associated with this tag. For example, tags with a key name of
Departmentcould have values such asHuman Resources,Accounting, andSupport. Tags with a key name ofCost Centermight have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.- Parameters:
value- The value associated with this tag. For example, tags with a key name ofDepartmentcould have values such asHuman Resources,Accounting, andSupport. Tags with a key name ofCost Centermight have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-