Class CfnComponentVersion.ComponentPlatformProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.ComponentPlatformProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentVersion.ComponentPlatformProperty>
- Enclosing interface:
- CfnComponentVersion.ComponentPlatformProperty
@Stability(Stable)
public static final class CfnComponentVersion.ComponentPlatformProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentVersion.ComponentPlatformProperty>
A builder for
CfnComponentVersion.ComponentPlatformProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getAttributes()build()Builds the configured instance.Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnComponentVersion.ComponentPlatformProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getAttributes()- Parameters:
attributes- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines theosandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
attributes
@Stability(Stable) public CfnComponentVersion.ComponentPlatformProperty.Builder attributes(Map<String, String> attributes) Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getAttributes()- Parameters:
attributes- A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines theosandplatformby default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the AWS IoT Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
name
Sets the value ofCfnComponentVersion.ComponentPlatformProperty.getName()- Parameters:
name- The friendly name of the platform. This name helps you identify the platform. If you omit this parameter, AWS IoT Greengrass creates a friendly name from theosandarchitectureof the platform.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentVersion.ComponentPlatformProperty>- Returns:
- a new instance of
CfnComponentVersion.ComponentPlatformProperty - Throws:
NullPointerException- if any required attribute was not provided
-