Interface KeyValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KeyValue.Builder,KeyValue>,SdkBuilder<KeyValue.Builder,KeyValue>,SdkPojo
- Enclosing class:
- KeyValue
public static interface KeyValue.Builder extends SdkPojo, CopyableBuilder<KeyValue.Builder,KeyValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyValue.Builderkey(String key)The tag key (String).KeyValue.Buildervalue(String value)The value of the key.-
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, sdkFields
-
-
-
-
Method Detail
-
key
KeyValue.Builder key(String key)
The tag key (String). The key can't start with
aws:.Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$- Parameters:
key- The tag key (String). The key can't start withaws:.Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
KeyValue.Builder value(String value)
The value of the key.
Length Constraints: Maximum length of 256.
Pattern:
^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$- Parameters:
value- The value of the key.Length Constraints: Maximum length of 256.
Pattern:
^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-