Class EtcdV3Backend.Builder

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

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

    • create

      @Stability(Deprecated) @Deprecated public static EtcdV3Backend.Builder create(software.constructs.Construct scope)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      Returns:
      a new instance of EtcdV3Backend.Builder.
    • endpoints

      @Stability(Deprecated) @Deprecated public EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend.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 EtcdV3Backend build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<EtcdV3Backend>