Class CfnCampaign.DataDestinationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnCampaign.DataDestinationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.DataDestinationConfigProperty>
- Enclosing interface:
CfnCampaign.DataDestinationConfigProperty
@Stability(Stable)
public static final class CfnCampaign.DataDestinationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.DataDestinationConfigProperty>
A builder for
CfnCampaign.DataDestinationConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Config
(IResolvable s3Config) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getS3Config()
s3Config
(CfnCampaign.S3ConfigProperty s3Config) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getS3Config()
timestreamConfig
(IResolvable timestreamConfig) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getTimestreamConfig()
timestreamConfig
(CfnCampaign.TimestreamConfigProperty timestreamConfig) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getTimestreamConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Config
@Stability(Stable) public CfnCampaign.DataDestinationConfigProperty.Builder s3Config(IResolvable s3Config) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getS3Config()
- Parameters:
s3Config
- (Optional) The Amazon S3 bucket where the AWS IoT FleetWise campaign sends data.- Returns:
this
-
s3Config
@Stability(Stable) public CfnCampaign.DataDestinationConfigProperty.Builder s3Config(CfnCampaign.S3ConfigProperty s3Config) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getS3Config()
- Parameters:
s3Config
- (Optional) The Amazon S3 bucket where the AWS IoT FleetWise campaign sends data.- Returns:
this
-
timestreamConfig
@Stability(Stable) public CfnCampaign.DataDestinationConfigProperty.Builder timestreamConfig(IResolvable timestreamConfig) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getTimestreamConfig()
- Parameters:
timestreamConfig
- (Optional) The Amazon Timestream table where the campaign sends data.- Returns:
this
-
timestreamConfig
@Stability(Stable) public CfnCampaign.DataDestinationConfigProperty.Builder timestreamConfig(CfnCampaign.TimestreamConfigProperty timestreamConfig) Sets the value ofCfnCampaign.DataDestinationConfigProperty.getTimestreamConfig()
- Parameters:
timestreamConfig
- (Optional) The Amazon Timestream table where the campaign sends data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.DataDestinationConfigProperty>
- Returns:
- a new instance of
CfnCampaign.DataDestinationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-