Class InfluxDBInstanceReference.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.InfluxDBInstanceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InfluxDBInstanceReference>
- Enclosing interface:
InfluxDBInstanceReference
@Stability(Stable)
public static final class InfluxDBInstanceReference.Builder
extends Object
implements software.amazon.jsii.Builder<InfluxDBInstanceReference>
A builder for
InfluxDBInstanceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.influxDbInstanceArn(String influxDbInstanceArn) Sets the value ofInfluxDBInstanceReference.getInfluxDbInstanceArn()influxDbInstanceId(String influxDbInstanceId) Sets the value ofInfluxDBInstanceReference.getInfluxDbInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
influxDbInstanceArn
@Stability(Stable) public InfluxDBInstanceReference.Builder influxDbInstanceArn(String influxDbInstanceArn) Sets the value ofInfluxDBInstanceReference.getInfluxDbInstanceArn()- Parameters:
influxDbInstanceArn- The ARN of the InfluxDBInstance resource. This parameter is required.- Returns:
this
-
influxDbInstanceId
@Stability(Stable) public InfluxDBInstanceReference.Builder influxDbInstanceId(String influxDbInstanceId) Sets the value ofInfluxDBInstanceReference.getInfluxDbInstanceId()- Parameters:
influxDbInstanceId- The Id of the InfluxDBInstance resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InfluxDBInstanceReference>- Returns:
- a new instance of
InfluxDBInstanceReference - Throws:
NullPointerException- if any required attribute was not provided
-