Class CfnCampaign.TimestreamConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnCampaign.TimestreamConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TimestreamConfigProperty>
- Enclosing interface:
CfnCampaign.TimestreamConfigProperty
@Stability(Stable)
public static final class CfnCampaign.TimestreamConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TimestreamConfigProperty>
A builder for
CfnCampaign.TimestreamConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.executionRoleArn
(String executionRoleArn) Sets the value ofCfnCampaign.TimestreamConfigProperty.getExecutionRoleArn()
timestreamTableArn
(String timestreamTableArn) Sets the value ofCfnCampaign.TimestreamConfigProperty.getTimestreamTableArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRoleArn
@Stability(Stable) public CfnCampaign.TimestreamConfigProperty.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnCampaign.TimestreamConfigProperty.getExecutionRoleArn()
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the task execution role that grants AWS IoT FleetWise permission to deliver data to the Amazon Timestream table. This parameter is required.- Returns:
this
-
timestreamTableArn
@Stability(Stable) public CfnCampaign.TimestreamConfigProperty.Builder timestreamTableArn(String timestreamTableArn) Sets the value ofCfnCampaign.TimestreamConfigProperty.getTimestreamTableArn()
- Parameters:
timestreamTableArn
- The Amazon Resource Name (ARN) of the Amazon Timestream table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.TimestreamConfigProperty>
- Returns:
- a new instance of
CfnCampaign.TimestreamConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-