Class CfnDataset.IotEventsDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.IotEventsDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.IotEventsDestinationConfigurationProperty>
- Enclosing interface:
CfnDataset.IotEventsDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDataset.IotEventsDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.IotEventsDestinationConfigurationProperty>
A builder for
CfnDataset.IotEventsDestinationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataset.IotEventsDestinationConfigurationProperty.getInputName()Sets the value ofCfnDataset.IotEventsDestinationConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputName
@Stability(Stable) public CfnDataset.IotEventsDestinationConfigurationProperty.Builder inputName(String inputName) Sets the value ofCfnDataset.IotEventsDestinationConfigurationProperty.getInputName()- Parameters:
inputName- The name of the AWS IoT Events input to which dataset contents are delivered. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDataset.IotEventsDestinationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDataset.IotEventsDestinationConfigurationProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.IotEventsDestinationConfigurationProperty>- Returns:
- a new instance of
CfnDataset.IotEventsDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-