Class CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty>
- Enclosing interface:
CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.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 CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder endpoint(String endpoint) Sets the value ofCfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.getEndpoint()- Parameters:
endpoint- The endpoint URL of the InfluxDB database.- Returns:
this
-
influxDbVersion
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder influxDbVersion(String influxDbVersion) Sets the value ofCfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.getInfluxDbVersion()- Parameters:
influxDbVersion- The version of the InfluxDB database (for example, V2 or V3).- Returns:
this
-
secretId
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder secretId(String secretId) Sets the value ofCfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.getSecretId()- Parameters:
secretId- The ARN or name of the Secrets Manager secret containing the InfluxDB API token.- Returns:
this
-
secretKey
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder secretKey(String secretKey) Sets the value ofCfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.getSecretKey()- Parameters:
secretKey- The key name within the secret that contains the InfluxDB token.- Returns:
this
-
secretType
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.Builder secretType(String secretType) Sets the value ofCfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty.getSecretType()- Parameters:
secretType- The type of the secret value (SecretString or SecretBinary).- Returns:
this
-
build
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty>- Returns:
- a new instance of
CfnTopicRuleDestinationPropsMixin.InfluxDBDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-