Class DatastreamStream.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_stream.DatastreamStream.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamStream>
- Enclosing class:
- DatastreamStream
@Stability(Stable) public static final class DatastreamStream.Builder extends Object implements software.amazon.jsii.Builder<DatastreamStream>
A fluent builder forDatastreamStream.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastreamStream.BuilderbackfillAll(DatastreamStreamBackfillAll backfillAll)backfill_all block.DatastreamStream.BuilderbackfillNone(DatastreamStreamBackfillNone backfillNone)backfill_none block.DatastreamStreambuild()DatastreamStream.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DatastreamStream.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DatastreamStream.Buildercount(com.hashicorp.cdktf.TerraformCount count)DatastreamStream.Buildercount(Number count)static DatastreamStream.Buildercreate(software.constructs.Construct scope, String id)DatastreamStream.BuildercreateWithoutValidation(com.hashicorp.cdktf.IResolvable createWithoutValidation)Create the stream without validating it.DatastreamStream.BuildercreateWithoutValidation(Boolean createWithoutValidation)Create the stream without validating it.DatastreamStream.BuildercustomerManagedEncryptionKey(String customerManagedEncryptionKey)A reference to a KMS encryption key.DatastreamStream.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DatastreamStream.BuilderdesiredState(String desiredState)Desired state of the Stream.DatastreamStream.BuilderdestinationConfig(DatastreamStreamDestinationConfig destinationConfig)destination_config block.DatastreamStream.BuilderdisplayName(String displayName)Display name.DatastreamStream.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DatastreamStream.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#id DatastreamStream#id}.DatastreamStream.Builderlabels(Map<String,String> labels)Labels.DatastreamStream.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DatastreamStream.Builderlocation(String location)The name of the location this stream is located in.DatastreamStream.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#project DatastreamStream#project}.DatastreamStream.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DatastreamStream.Builderprovisioners(List<? extends Object> provisioners)DatastreamStream.BuildersourceConfig(DatastreamStreamSourceConfig sourceConfig)source_config block.DatastreamStream.BuilderstreamId(String streamId)The stream identifier.DatastreamStream.Buildertimeouts(DatastreamStreamTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DatastreamStream.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
DatastreamStream.Builder.
-
connection
@Stability(Experimental) public DatastreamStream.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DatastreamStream.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DatastreamStream.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DatastreamStream.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DatastreamStream.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DatastreamStream.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DatastreamStream.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DatastreamStream.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DatastreamStream.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
destinationConfig
@Stability(Stable) public DatastreamStream.Builder destinationConfig(DatastreamStreamDestinationConfig destinationConfig)
destination_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#destination_config DatastreamStream#destination_config}
- Parameters:
destinationConfig- destination_config block. This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public DatastreamStream.Builder displayName(String displayName)
Display name.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#display_name DatastreamStream#display_name}
- Parameters:
displayName- Display name. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public DatastreamStream.Builder location(String location)
The name of the location this stream is located in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#location DatastreamStream#location}
- Parameters:
location- The name of the location this stream is located in. This parameter is required.- Returns:
this
-
sourceConfig
@Stability(Stable) public DatastreamStream.Builder sourceConfig(DatastreamStreamSourceConfig sourceConfig)
source_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#source_config DatastreamStream#source_config}
- Parameters:
sourceConfig- source_config block. This parameter is required.- Returns:
this
-
streamId
@Stability(Stable) public DatastreamStream.Builder streamId(String streamId)
The stream identifier.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#stream_id DatastreamStream#stream_id}
- Parameters:
streamId- The stream identifier. This parameter is required.- Returns:
this
-
backfillAll
@Stability(Stable) public DatastreamStream.Builder backfillAll(DatastreamStreamBackfillAll backfillAll)
backfill_all block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#backfill_all DatastreamStream#backfill_all}
- Parameters:
backfillAll- backfill_all block. This parameter is required.- Returns:
this
-
backfillNone
@Stability(Stable) public DatastreamStream.Builder backfillNone(DatastreamStreamBackfillNone backfillNone)
backfill_none block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#backfill_none DatastreamStream#backfill_none}
- Parameters:
backfillNone- backfill_none block. This parameter is required.- Returns:
this
-
createWithoutValidation
@Stability(Stable) public DatastreamStream.Builder createWithoutValidation(Boolean createWithoutValidation)
Create the stream without validating it.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#create_without_validation DatastreamStream#create_without_validation}
- Parameters:
createWithoutValidation- Create the stream without validating it. This parameter is required.- Returns:
this
-
createWithoutValidation
@Stability(Stable) public DatastreamStream.Builder createWithoutValidation(com.hashicorp.cdktf.IResolvable createWithoutValidation)
Create the stream without validating it.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#create_without_validation DatastreamStream#create_without_validation}
- Parameters:
createWithoutValidation- Create the stream without validating it. This parameter is required.- Returns:
this
-
customerManagedEncryptionKey
@Stability(Stable) public DatastreamStream.Builder customerManagedEncryptionKey(String customerManagedEncryptionKey)
A reference to a KMS encryption key.If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#customer_managed_encryption_key DatastreamStream#customer_managed_encryption_key}
- Parameters:
customerManagedEncryptionKey- A reference to a KMS encryption key. This parameter is required.- Returns:
this
-
desiredState
@Stability(Stable) public DatastreamStream.Builder desiredState(String desiredState)
Desired state of the Stream.Set this field to 'RUNNING' to start the stream, and 'PAUSED' to pause the stream. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#desired_state DatastreamStream#desired_state}
- Parameters:
desiredState- Desired state of the Stream. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DatastreamStream.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#id DatastreamStream#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#id DatastreamStream#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public DatastreamStream.Builder labels(Map<String,String> labels)
Labels.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#labels DatastreamStream#labels}
- Parameters:
labels- Labels. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DatastreamStream.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#project DatastreamStream#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#project DatastreamStream#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public DatastreamStream.Builder timeouts(DatastreamStreamTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#timeouts DatastreamStream#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DatastreamStream build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamStream>- Returns:
- a newly built instance of
DatastreamStream.
-
-