@Stability(value=Experimental) public static final class EtcdV3BackendProps.Builder extends Object implements software.amazon.jsii.Builder<EtcdV3BackendProps>
EtcdV3BackendProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EtcdV3BackendProps |
build()
Builds the configured instance.
|
EtcdV3BackendProps.Builder |
cacertPath(String cacertPath)
Sets the value of
EtcdV3BackendProps.getCacertPath() |
EtcdV3BackendProps.Builder |
certPath(String certPath)
Sets the value of
EtcdV3BackendProps.getCertPath() |
EtcdV3BackendProps.Builder |
endpoints(List<String> endpoints)
Sets the value of
EtcdV3BackendProps.getEndpoints() |
EtcdV3BackendProps.Builder |
keyPath(String keyPath)
Sets the value of
EtcdV3BackendProps.getKeyPath() |
EtcdV3BackendProps.Builder |
lock(Boolean lock)
Sets the value of
EtcdV3BackendProps.getLock() |
EtcdV3BackendProps.Builder |
password(String password)
Sets the value of
EtcdV3BackendProps.getPassword() |
EtcdV3BackendProps.Builder |
prefix(String prefix)
Sets the value of
EtcdV3BackendProps.getPrefix() |
EtcdV3BackendProps.Builder |
username(String username)
Sets the value of
EtcdV3BackendProps.getUsername() |
@Stability(value=Experimental) public EtcdV3BackendProps.Builder endpoints(List<String> endpoints)
EtcdV3BackendProps.getEndpoints()
endpoints
- (Required) The list of 'etcd' endpoints which to connect to. This parameter is required.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder cacertPath(String cacertPath)
EtcdV3BackendProps.getCacertPath()
cacertPath
- (Optional) The path to a PEM-encoded CA bundle with which to verify certificates of TLS-enabled etcd servers.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder certPath(String certPath)
EtcdV3BackendProps.getCertPath()
certPath
- (Optional) The path to a PEM-encoded certificate to provide to etcd for secure client identification.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder keyPath(String keyPath)
EtcdV3BackendProps.getKeyPath()
keyPath
- (Optional) The path to a PEM-encoded key to provide to etcd for secure client identification.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder lock(Boolean lock)
EtcdV3BackendProps.getLock()
lock
- (Optional) Whether to lock state access.
Defaults to true.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder password(String password)
EtcdV3BackendProps.getPassword()
password
- (Optional) Password used to connect to the etcd cluster.this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder prefix(String prefix)
EtcdV3BackendProps.getPrefix()
prefix
- (Optional) An optional prefix to be added to keys when to storing state in etcd.
Defaults to "".this
@Stability(value=Experimental) public EtcdV3BackendProps.Builder username(String username)
EtcdV3BackendProps.getUsername()
username
- (Optional) Username used to connect to the etcd cluster.this
@Stability(value=Experimental) public EtcdV3BackendProps build()
build
in interface software.amazon.jsii.Builder<EtcdV3BackendProps>
EtcdV3BackendProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.