Class DatastreamStreamDestinationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_stream.DatastreamStreamDestinationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamStreamDestinationConfig>
- Enclosing interface:
- DatastreamStreamDestinationConfig
@Stability(Stable) public static final class DatastreamStreamDestinationConfig.Builder extends Object implements software.amazon.jsii.Builder<DatastreamStreamDestinationConfig>
A builder forDatastreamStreamDestinationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastreamStreamDestinationConfig.BuilderbigqueryDestinationConfig(DatastreamStreamDestinationConfigBigqueryDestinationConfig bigqueryDestinationConfig)Sets the value ofDatastreamStreamDestinationConfig.getBigqueryDestinationConfig()DatastreamStreamDestinationConfigbuild()Builds the configured instance.DatastreamStreamDestinationConfig.BuilderdestinationConnectionProfile(String destinationConnectionProfile)Sets the value ofDatastreamStreamDestinationConfig.getDestinationConnectionProfile()DatastreamStreamDestinationConfig.BuildergcsDestinationConfig(DatastreamStreamDestinationConfigGcsDestinationConfig gcsDestinationConfig)Sets the value ofDatastreamStreamDestinationConfig.getGcsDestinationConfig()
-
-
-
Method Detail
-
destinationConnectionProfile
@Stability(Stable) public DatastreamStreamDestinationConfig.Builder destinationConnectionProfile(String destinationConnectionProfile)
Sets the value ofDatastreamStreamDestinationConfig.getDestinationConnectionProfile()- Parameters:
destinationConnectionProfile- Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#destination_connection_profile DatastreamStream#destination_connection_profile}- Returns:
this
-
bigqueryDestinationConfig
@Stability(Stable) public DatastreamStreamDestinationConfig.Builder bigqueryDestinationConfig(DatastreamStreamDestinationConfigBigqueryDestinationConfig bigqueryDestinationConfig)
Sets the value ofDatastreamStreamDestinationConfig.getBigqueryDestinationConfig()- Parameters:
bigqueryDestinationConfig- bigquery_destination_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#bigquery_destination_config DatastreamStream#bigquery_destination_config}- Returns:
this
-
gcsDestinationConfig
@Stability(Stable) public DatastreamStreamDestinationConfig.Builder gcsDestinationConfig(DatastreamStreamDestinationConfigGcsDestinationConfig gcsDestinationConfig)
Sets the value ofDatastreamStreamDestinationConfig.getGcsDestinationConfig()- Parameters:
gcsDestinationConfig- gcs_destination_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#gcs_destination_config DatastreamStream#gcs_destination_config}- Returns:
this
-
build
@Stability(Stable) public DatastreamStreamDestinationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamStreamDestinationConfig>- Returns:
- a new instance of
DatastreamStreamDestinationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-