@Stability(value=Experimental) public static final class DataTerraformRemoteStateEtcdV3Config.Builder extends Object implements software.amazon.jsii.Builder<DataTerraformRemoteStateEtcdV3Config>
DataTerraformRemoteStateEtcdV3Config
Constructor and Description |
---|
Builder() |
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config.Builder defaults(Map<String,? extends Object> defaults)
DataTerraformRemoteStateConfig.getDefaults()
defaults
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config.Builder workspace(String workspace)
DataTerraformRemoteStateConfig.getWorkspace()
workspace
- the value to be set.this
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config.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 DataTerraformRemoteStateEtcdV3Config.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 DataTerraformRemoteStateEtcdV3Config.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 DataTerraformRemoteStateEtcdV3Config.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 DataTerraformRemoteStateEtcdV3Config.Builder lock(Boolean lock)
EtcdV3BackendProps.getLock()
lock
- (Optional) Whether to lock state access.
Defaults to true.this
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config.Builder password(String password)
EtcdV3BackendProps.getPassword()
password
- (Optional) Password used to connect to the etcd cluster.this
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config.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 DataTerraformRemoteStateEtcdV3Config.Builder username(String username)
EtcdV3BackendProps.getUsername()
username
- (Optional) Username used to connect to the etcd cluster.this
@Stability(value=Experimental) public DataTerraformRemoteStateEtcdV3Config build()
build
in interface software.amazon.jsii.Builder<DataTerraformRemoteStateEtcdV3Config>
DataTerraformRemoteStateEtcdV3Config
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.