@Stability(value=Experimental) @Internal public static final class ConsulBackendConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ConsulBackendConfig
ConsulBackendConfig
software.amazon.jsii.JsiiObject.InitializationMode
ConsulBackendConfig.Builder, ConsulBackendConfig.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(ConsulBackendConfig.Builder builder)
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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccessToken()
(experimental) (Required) Access token.
|
String |
getAddress()
(experimental) (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port.
|
String |
getCaFile()
(experimental) (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
|
String |
getCertFile()
(experimental) (Optional) A path to a PEM-encoded certificate provided to the remote agent;
|
String |
getDatacenter()
(experimental) (Optional) The datacenter to use.
|
Boolean |
getGzip()
(experimental) (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed.
|
String |
getHttpAuth()
(experimental) (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass.
|
String |
getKeyFile()
(experimental) (Optional) A path to a PEM-encoded private key, required if cert_file is specified.
|
Boolean |
getLock()
(experimental) (Optional) false to disable locking.
|
String |
getPath()
(experimental) (Required) Path in the Consul KV store.
|
String |
getScheme()
(experimental) (Optional) Specifies what protocol to use when talking to the given address,either http or https.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(ConsulBackendConfig.Builder builder)
ConsulBackendConfig.Builder
.public final String getAccessToken()
ConsulBackendConfig
getAccessToken
in interface ConsulBackendConfig
public final String getPath()
ConsulBackendConfig
getPath
in interface ConsulBackendConfig
public final String getAddress()
ConsulBackendConfig
Defaults to the local agent HTTP listener.
getAddress
in interface ConsulBackendConfig
public final String getCaFile()
ConsulBackendConfig
getCaFile
in interface ConsulBackendConfig
public final String getCertFile()
ConsulBackendConfig
requires use of key_file.
getCertFile
in interface ConsulBackendConfig
public final String getDatacenter()
ConsulBackendConfig
Defaults to that of the agent.
getDatacenter
in interface ConsulBackendConfig
public final Boolean getGzip()
ConsulBackendConfig
getGzip
in interface ConsulBackendConfig
public final String getHttpAuth()
ConsulBackendConfig
getHttpAuth
in interface ConsulBackendConfig
public final String getKeyFile()
ConsulBackendConfig
getKeyFile
in interface ConsulBackendConfig
public final Boolean getLock()
ConsulBackendConfig
This defaults to true, but will require session permissions with Consul and at least kv write permissions on $path/.lock to perform locking.
getLock
in interface ConsulBackendConfig
public final String getScheme()
ConsulBackendConfig
SSL support can also be triggered by setting then environment variable CONSUL_HTTP_SSL to true.
getScheme
in interface ConsulBackendConfig
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.