Class ConsulBackendConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.ConsulBackendConfig.Jsii$Proxy
All Implemented Interfaces:
ConsulBackendConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ConsulBackendConfig

@Stability(Experimental) @Internal public static final class ConsulBackendConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConsulBackendConfig
An implementation for ConsulBackendConfig
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ConsulBackendConfig

    ConsulBackendConfig.Builder, ConsulBackendConfig.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ConsulBackendConfig.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    (experimental) (Required) Access token.
    final String
    (experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.
    final String
    (experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
    final String
    (experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;
    final String
    (experimental) (Optional) The datacenter to use.
    final Boolean
    (experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
    final String
    (experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
    final String
    (experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
    final Boolean
    (experimental) (Optional) false to disable locking.
    final String
    (experimental) (Required) Path in the Consul KV store.
    final String
    (experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ConsulBackendConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ConsulBackendConfig.Builder.
  • Method Details

    • getAccessToken

      public final String getAccessToken()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Required) Access token.
      Specified by:
      getAccessToken in interface ConsulBackendConfig
    • getPath

      public final String getPath()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Required) Path in the Consul KV store.
      Specified by:
      getPath in interface ConsulBackendConfig
    • getAddress

      public final String getAddress()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.

      Defaults to the local agent HTTP listener.

      Specified by:
      getAddress in interface ConsulBackendConfig
    • getCaFile

      public final String getCaFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
      Specified by:
      getCaFile in interface ConsulBackendConfig
    • getCertFile

      public final String getCertFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;

      requires use of key_file.

      Specified by:
      getCertFile in interface ConsulBackendConfig
    • getDatacenter

      public final String getDatacenter()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) The datacenter to use.

      Defaults to that of the agent.

      Specified by:
      getDatacenter in interface ConsulBackendConfig
    • getGzip

      public final Boolean getGzip()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
      Specified by:
      getGzip in interface ConsulBackendConfig
    • getHttpAuth

      public final String getHttpAuth()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
      Specified by:
      getHttpAuth in interface ConsulBackendConfig
    • getKeyFile

      public final String getKeyFile()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
      Specified by:
      getKeyFile in interface ConsulBackendConfig
    • getLock

      public final Boolean getLock()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) false to disable locking.

      This defaults to true, but will require session permissions with Consul and at least kv write permissions on $path/.lock to perform locking.

      Specified by:
      getLock in interface ConsulBackendConfig
    • getScheme

      public final String getScheme()
      Description copied from interface: ConsulBackendConfig
      (experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.

      SSL support can also be triggered by setting then environment variable CONSUL_HTTP_SSL to true.

      Specified by:
      getScheme in interface ConsulBackendConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object