Class CfnComponent.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnComponent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponent>
- Enclosing class:
CfnComponent
@Stability(Stable)
public static final class CfnComponent.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponent>
A fluent builder for
CfnComponent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()componentName(String componentName) The name of the component.static CfnComponent.Buildertags(List<? extends CfnComponent.TagsItemsProperty> tags) Tags associated with the component.
-
Method Details
-
create
@Stability(Stable) public static CfnComponent.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnComponent.Builder.
-
componentName
The name of the component.- Parameters:
componentName- The name of the component. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnComponent.Builder tags(List<? extends CfnComponent.TagsItemsProperty> tags) Tags associated with the component.- Parameters:
tags- Tags associated with the component. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponent>- Returns:
- a newly built instance of
CfnComponent.
-