public static final class CfnComponentVersion.ComponentPlatformProperty.Builder
extends java.lang.Object
CfnComponentVersion.ComponentPlatformProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnComponentVersion.ComponentPlatformProperty.Builder |
attributes(IResolvable attributes)
Sets the value of
CfnComponentVersion.ComponentPlatformProperty.getAttributes() |
CfnComponentVersion.ComponentPlatformProperty.Builder |
attributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the value of
CfnComponentVersion.ComponentPlatformProperty.getAttributes() |
CfnComponentVersion.ComponentPlatformProperty |
build()
Builds the configured instance.
|
CfnComponentVersion.ComponentPlatformProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnComponentVersion.ComponentPlatformProperty.getName() |
public CfnComponentVersion.ComponentPlatformProperty.Builder attributes(IResolvable attributes)
CfnComponentVersion.ComponentPlatformProperty.getAttributes()
attributes
- A dictionary of attributes for the platform.
The software defines the os
and platform
by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .this
public CfnComponentVersion.ComponentPlatformProperty.Builder attributes(java.util.Map<java.lang.String,java.lang.String> attributes)
CfnComponentVersion.ComponentPlatformProperty.getAttributes()
attributes
- A dictionary of attributes for the platform.
The software defines the os
and platform
by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the AWS IoT Greengrass V2 Developer Guide .this
public CfnComponentVersion.ComponentPlatformProperty.Builder name(java.lang.String name)
CfnComponentVersion.ComponentPlatformProperty.getName()
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 the os
and architecture
of the platform.this
public CfnComponentVersion.ComponentPlatformProperty build()
CfnComponentVersion.ComponentPlatformProperty
java.lang.NullPointerException
- if any required attribute was not provided