Class CfnSchema.TagsEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eventschemas.CfnSchema.TagsEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchema.TagsEntryProperty>
- Enclosing interface:
CfnSchema.TagsEntryProperty
@Stability(Stable)
public static final class CfnSchema.TagsEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchema.TagsEntryProperty>
A builder for
CfnSchema.TagsEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSchema.TagsEntryProperty.getKey()Sets the value ofCfnSchema.TagsEntryProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnSchema.TagsEntryProperty.getKey()- Parameters:
key- The key of a key-value pair. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnSchema.TagsEntryProperty.getValue()- Parameters:
value- The value of a key-value pair. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchema.TagsEntryProperty>- Returns:
- a new instance of
CfnSchema.TagsEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-