Class DatastreamStreamConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        @Stability(Stable)
        public DatastreamStreamConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - Display name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#display_name DatastreamStream#display_name}
        Returns:
        this
      • location

        @Stability(Stable)
        public DatastreamStreamConfig.Builder location​(String location)
        Parameters:
        location - The name of the location this stream is located in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#location DatastreamStream#location}
        Returns:
        this
      • streamId

        @Stability(Stable)
        public DatastreamStreamConfig.Builder streamId​(String streamId)
        Parameters:
        streamId - The stream identifier. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#stream_id DatastreamStream#stream_id}
        Returns:
        this
      • createWithoutValidation

        @Stability(Stable)
        public DatastreamStreamConfig.Builder createWithoutValidation​(Boolean createWithoutValidation)
        Parameters:
        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}
        Returns:
        this
      • createWithoutValidation

        @Stability(Stable)
        public DatastreamStreamConfig.Builder createWithoutValidation​(com.hashicorp.cdktf.IResolvable createWithoutValidation)
        Parameters:
        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}
        Returns:
        this
      • customerManagedEncryptionKey

        @Stability(Stable)
        public DatastreamStreamConfig.Builder customerManagedEncryptionKey​(String customerManagedEncryptionKey)
        Parameters:
        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}
        Returns:
        this
      • desiredState

        @Stability(Stable)
        public DatastreamStreamConfig.Builder desiredState​(String desiredState)
        Parameters:
        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}
        Returns:
        this
      • id

        @Stability(Stable)
        public DatastreamStreamConfig.Builder id​(String id)
        Parameters:
        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.
        Returns:
        this
      • labels

        @Stability(Stable)
        public DatastreamStreamConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DatastreamStreamConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this