Class CfnEventBus.TagEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEventBus.TagEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBus.TagEntryProperty>
- Enclosing interface:
CfnEventBus.TagEntryProperty
@Stability(Stable)
public static final class CfnEventBus.TagEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBus.TagEntryProperty>
A builder for
CfnEventBus.TagEntryProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEventBus.TagEntryProperty.getKey()
Sets the value ofCfnEventBus.TagEntryProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnEventBus.TagEntryProperty.getKey()
- Parameters:
key
- A string you can use to assign a value. This parameter is required. The combination of tag keys and values can help you organize and categorize your resources.- Returns:
this
-
value
Sets the value ofCfnEventBus.TagEntryProperty.getValue()
- Parameters:
value
- The value for the specified tag key. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventBus.TagEntryProperty>
- Returns:
- a new instance of
CfnEventBus.TagEntryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-