Class CfnCommandMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnCommandMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCommandMixinProps>
- Enclosing interface:
CfnCommandMixinProps
@Stability(Stable)
public static final class CfnCommandMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCommandMixinProps>
A builder for
CfnCommandMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCommandMixinProps.getCommandId()Sets the value ofCfnCommandMixinProps.getCreatedAt()deprecated(Boolean deprecated) Sets the value ofCfnCommandMixinProps.getDeprecated()deprecated(IResolvable deprecated) Sets the value ofCfnCommandMixinProps.getDeprecated()description(String description) Sets the value ofCfnCommandMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnCommandMixinProps.getDisplayName()lastUpdatedAt(String lastUpdatedAt) Sets the value ofCfnCommandMixinProps.getLastUpdatedAt()mandatoryParameters(List<? extends Object> mandatoryParameters) Sets the value ofCfnCommandMixinProps.getMandatoryParameters()mandatoryParameters(IResolvable mandatoryParameters) Sets the value ofCfnCommandMixinProps.getMandatoryParameters()Sets the value ofCfnCommandMixinProps.getNamespace()Sets the value ofCfnCommandMixinProps.getPayload()payload(IResolvable payload) Sets the value ofCfnCommandMixinProps.getPayload()payloadTemplate(String payloadTemplate) Sets the value ofCfnCommandMixinProps.getPayloadTemplate()pendingDeletion(Boolean pendingDeletion) Sets the value ofCfnCommandMixinProps.getPendingDeletion()pendingDeletion(IResolvable pendingDeletion) Sets the value ofCfnCommandMixinProps.getPendingDeletion()preprocessor(CfnCommandPropsMixin.CommandPreprocessorProperty preprocessor) Sets the value ofCfnCommandMixinProps.getPreprocessor()preprocessor(IResolvable preprocessor) Sets the value ofCfnCommandMixinProps.getPreprocessor()Sets the value ofCfnCommandMixinProps.getRoleArn()Sets the value ofCfnCommandMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commandId
Sets the value ofCfnCommandMixinProps.getCommandId()- Parameters:
commandId- The unique identifier of the command.- Returns:
this
-
createdAt
Sets the value ofCfnCommandMixinProps.getCreatedAt()- Parameters:
createdAt- The timestamp, when the command was created.- Returns:
this
-
deprecated
Sets the value ofCfnCommandMixinProps.getDeprecated()- Parameters:
deprecated- Indicates whether the command has been deprecated.- Returns:
this
-
deprecated
Sets the value ofCfnCommandMixinProps.getDeprecated()- Parameters:
deprecated- Indicates whether the command has been deprecated.- Returns:
this
-
description
Sets the value ofCfnCommandMixinProps.getDescription()- Parameters:
description- The description of the command parameter.- Returns:
this
-
displayName
Sets the value ofCfnCommandMixinProps.getDisplayName()- Parameters:
displayName- The display name of the command.- Returns:
this
-
lastUpdatedAt
Sets the value ofCfnCommandMixinProps.getLastUpdatedAt()- Parameters:
lastUpdatedAt- The timestamp, when the command was last updated.- Returns:
this
-
mandatoryParameters
@Stability(Stable) public CfnCommandMixinProps.Builder mandatoryParameters(IResolvable mandatoryParameters) Sets the value ofCfnCommandMixinProps.getMandatoryParameters()- Parameters:
mandatoryParameters- the value to be set.- Returns:
this
-
mandatoryParameters
@Stability(Stable) public CfnCommandMixinProps.Builder mandatoryParameters(List<? extends Object> mandatoryParameters) Sets the value ofCfnCommandMixinProps.getMandatoryParameters()- Parameters:
mandatoryParameters- the value to be set.- Returns:
this
-
namespace
Sets the value ofCfnCommandMixinProps.getNamespace()- Parameters:
namespace- The namespace to which the command belongs.- Returns:
this
-
payload
Sets the value ofCfnCommandMixinProps.getPayload()- Parameters:
payload- the value to be set.- Returns:
this
-
payload
@Stability(Stable) public CfnCommandMixinProps.Builder payload(CfnCommandPropsMixin.CommandPayloadProperty payload) Sets the value ofCfnCommandMixinProps.getPayload()- Parameters:
payload- the value to be set.- Returns:
this
-
payloadTemplate
Sets the value ofCfnCommandMixinProps.getPayloadTemplate()- Parameters:
payloadTemplate- The payload template associated with the command.- Returns:
this
-
pendingDeletion
Sets the value ofCfnCommandMixinProps.getPendingDeletion()- Parameters:
pendingDeletion- Indicates whether the command is pending deletion.- Returns:
this
-
pendingDeletion
Sets the value ofCfnCommandMixinProps.getPendingDeletion()- Parameters:
pendingDeletion- Indicates whether the command is pending deletion.- Returns:
this
-
preprocessor
Sets the value ofCfnCommandMixinProps.getPreprocessor()- Parameters:
preprocessor- the value to be set.- Returns:
this
-
preprocessor
@Stability(Stable) public CfnCommandMixinProps.Builder preprocessor(CfnCommandPropsMixin.CommandPreprocessorProperty preprocessor) Sets the value ofCfnCommandMixinProps.getPreprocessor()- Parameters:
preprocessor- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnCommandMixinProps.getRoleArn()- Parameters:
roleArn- The customer role associated with the command.- Returns:
this
-
tags
Sets the value ofCfnCommandMixinProps.getTags()- Parameters:
tags- The tags to be associated with the command.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCommandMixinProps>- Returns:
- a new instance of
CfnCommandMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-