Class CfnRobotProps.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnRobotProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRobotProps>
- Enclosing interface:
CfnRobotProps
@Stability(Stable)
public static final class CfnRobotProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRobotProps>
A builder for
CfnRobotProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitecture(String architecture) Sets the value ofCfnRobotProps.getArchitecture()build()Builds the configured instance.Sets the value ofCfnRobotProps.getFleet()greengrassGroupId(String greengrassGroupId) Sets the value ofCfnRobotProps.getGreengrassGroupId()Sets the value ofCfnRobotProps.getName()Sets the value ofCfnRobotProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
architecture
Sets the value ofCfnRobotProps.getArchitecture()- Parameters:
architecture- The architecture of the robot. This parameter is required.- Returns:
this
-
greengrassGroupId
Sets the value ofCfnRobotProps.getGreengrassGroupId()- Parameters:
greengrassGroupId- The Greengrass group associated with the robot. This parameter is required.- Returns:
this
-
fleet
Sets the value ofCfnRobotProps.getFleet()- Parameters:
fleet- The Amazon Resource Name (ARN) of the fleet to which the robot will be registered.- Returns:
this
-
name
Sets the value ofCfnRobotProps.getName()- Parameters:
name- The name of the robot.- Returns:
this
-
tags
Sets the value ofCfnRobotProps.getTags()- Parameters:
tags- A map that contains tag keys and tag values that are attached to the robot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRobotProps>- Returns:
- a new instance of
CfnRobotProps - Throws:
NullPointerException- if any required attribute was not provided
-