Class Tag.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.Tag.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tagbuild()Builds the configured instance.Tag.Builderkey(String key)Sets the value ofTag.getKey()Tag.Buildervalue(String value)Sets the value ofTag.getValue()
-
-
-
Method Detail
-
key
@Stability(Stable) public Tag.Builder key(String key)
Sets the value ofTag.getKey()- Parameters:
key- Tag key. This parameter is required. (In the actual file on disk this will be cased as "Key", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)- Returns:
this
-
value
@Stability(Stable) public Tag.Builder value(String value)
Sets the value ofTag.getValue()- Parameters:
value- Tag value. This parameter is required. (In the actual file on disk this will be cased as "Value", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)- Returns:
this
-
build
@Stability(Stable) public Tag build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Tag>- Returns:
- a new instance of
Tag - Throws:
NullPointerException- if any required attribute was not provided
-
-