Class CommandReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iot.CommandReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CommandReference>
- Enclosing interface:
CommandReference
@Stability(Stable)
public static final class CommandReference.Builder
extends Object
implements software.amazon.jsii.Builder<CommandReference>
A builder for
CommandReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.commandArn(String commandArn) Sets the value ofCommandReference.getCommandArn()Sets the value ofCommandReference.getCommandId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commandArn
Sets the value ofCommandReference.getCommandArn()- Parameters:
commandArn- The ARN of the Command resource. This parameter is required.- Returns:
this
-
commandId
Sets the value ofCommandReference.getCommandId()- Parameters:
commandId- The CommandId of the Command resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CommandReference>- Returns:
- a new instance of
CommandReference - Throws:
NullPointerException- if any required attribute was not provided
-