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