Class DataTerraformRemoteStateEtcdV3.Builder

java.lang.Object
com.hashicorp.cdktf.DataTerraformRemoteStateEtcdV3.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<DataTerraformRemoteStateEtcdV3>
Enclosing class:
DataTerraformRemoteStateEtcdV3

@Stability(Deprecated) @Deprecated public static final class DataTerraformRemoteStateEtcdV3.Builder extends Object implements software.amazon.jsii.Builder<DataTerraformRemoteStateEtcdV3>
Deprecated.
(deprecated) A fluent builder for DataTerraformRemoteStateEtcdV3.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static DataTerraformRemoteStateEtcdV3.Builder create(software.constructs.Construct scope, String id)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of DataTerraformRemoteStateEtcdV3.Builder.
    • defaults

      @Stability(Experimental) public DataTerraformRemoteStateEtcdV3.Builder defaults(Map<String,? extends Object> defaults)
      Deprecated.
      Parameters:
      defaults - This parameter is required.
      Returns:
      this
    • workspace

      @Stability(Experimental) public DataTerraformRemoteStateEtcdV3.Builder workspace(String workspace)
      Deprecated.
      Parameters:
      workspace - This parameter is required.
      Returns:
      this
    • endpoints

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder endpoints(List<String> endpoints)
      Deprecated.
      (deprecated) (Required) The list of 'etcd' endpoints which to connect to.

      Parameters:
      endpoints - (Required) The list of 'etcd' endpoints which to connect to. This parameter is required.
      Returns:
      this
    • cacertPath

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder cacertPath(String cacertPath)
      Deprecated.
      (deprecated) (Optional) The path to a PEM-encoded CA bundle with which to verify certificates of TLS-enabled etcd servers.

      Parameters:
      cacertPath - (Optional) The path to a PEM-encoded CA bundle with which to verify certificates of TLS-enabled etcd servers. This parameter is required.
      Returns:
      this
    • certPath

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder certPath(String certPath)
      Deprecated.
      (deprecated) (Optional) The path to a PEM-encoded certificate to provide to etcd for secure client identification.

      Parameters:
      certPath - (Optional) The path to a PEM-encoded certificate to provide to etcd for secure client identification. This parameter is required.
      Returns:
      this
    • keyPath

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder keyPath(String keyPath)
      Deprecated.
      (deprecated) (Optional) The path to a PEM-encoded key to provide to etcd for secure client identification.

      Parameters:
      keyPath - (Optional) The path to a PEM-encoded key to provide to etcd for secure client identification. This parameter is required.
      Returns:
      this
    • lock

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder lock(Boolean lock)
      Deprecated.
      (deprecated) (Optional) Whether to lock state access.

      Defaults to true.

      Parameters:
      lock - (Optional) Whether to lock state access. This parameter is required.
      Returns:
      this
    • password

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder password(String password)
      Deprecated.
      (deprecated) (Optional) Password used to connect to the etcd cluster.

      Parameters:
      password - (Optional) Password used to connect to the etcd cluster. This parameter is required.
      Returns:
      this
    • prefix

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder prefix(String prefix)
      Deprecated.
      (deprecated) (Optional) An optional prefix to be added to keys when to storing state in etcd.

      Defaults to "".

      Parameters:
      prefix - (Optional) An optional prefix to be added to keys when to storing state in etcd. This parameter is required.
      Returns:
      this
    • username

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3.Builder username(String username)
      Deprecated.
      (deprecated) (Optional) Username used to connect to the etcd cluster.

      Parameters:
      username - (Optional) Username used to connect to the etcd cluster. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public DataTerraformRemoteStateEtcdV3 build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<DataTerraformRemoteStateEtcdV3>
      Returns:
      a newly built instance of DataTerraformRemoteStateEtcdV3.