Class CfnComponentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrassv2.CfnComponentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentMixinProps>
- Enclosing interface:
CfnComponentMixinProps
@Stability(Stable)
public static final class CfnComponentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentMixinProps>
A builder for
CfnComponentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentName(String componentName) Sets the value ofCfnComponentMixinProps.getComponentName()tags(List<? extends CfnComponentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnComponentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentName
Sets the value ofCfnComponentMixinProps.getComponentName()- Parameters:
componentName- The name of the component.- Returns:
this
-
tags
@Stability(Stable) public CfnComponentMixinProps.Builder tags(List<? extends CfnComponentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnComponentMixinProps.getTags()- Parameters:
tags- Tags associated with the component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentMixinProps>- Returns:
- a new instance of
CfnComponentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-