Class CfnCommand.CommandPayloadProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnCommand.CommandPayloadProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCommand.CommandPayloadProperty>
- Enclosing interface:
CfnCommand.CommandPayloadProperty
@Stability(Stable)
public static final class CfnCommand.CommandPayloadProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCommand.CommandPayloadProperty>
A builder for
CfnCommand.CommandPayloadProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCommand.CommandPayloadProperty.getContent()contentType(String contentType) Sets the value ofCfnCommand.CommandPayloadProperty.getContentType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnCommand.CommandPayloadProperty.getContent()- Parameters:
content- the value to be set.- Returns:
this
-
contentType
Sets the value ofCfnCommand.CommandPayloadProperty.getContentType()- Parameters:
contentType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCommand.CommandPayloadProperty>- Returns:
- a new instance of
CfnCommand.CommandPayloadProperty - Throws:
NullPointerException- if any required attribute was not provided
-