Class CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty>
- Enclosing interface:
CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.influxDbVersion(String influxDbVersion) secretType(String secretType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
@Stability(Stable) public CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder endpoint(String endpoint) - Parameters:
endpoint- The endpoint URL of the InfluxDB database. This parameter is required.- Returns:
this
-
influxDbVersion
@Stability(Stable) public CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder influxDbVersion(String influxDbVersion) Sets the value ofCfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.getInfluxDbVersion()- Parameters:
influxDbVersion- The version of the InfluxDB database (for example, V2 or V3). This parameter is required.- Returns:
this
-
secretId
@Stability(Stable) public CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder secretId(String secretId) - Parameters:
secretId- The ARN or name of the Secrets Manager secret containing the InfluxDB API token. This parameter is required.- Returns:
this
-
secretKey
@Stability(Stable) public CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder secretKey(String secretKey) - Parameters:
secretKey- The key name within the secret that contains the InfluxDB token.- Returns:
this
-
secretType
@Stability(Stable) public CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.Builder secretType(String secretType) - Parameters:
secretType- The type of the secret value (SecretString or SecretBinary).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty>- Returns:
- a new instance of
CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-