Package com.hashicorp.cdktf
Class DataTerraformRemoteStateArtifactoryConfig.Builder
java.lang.Object
com.hashicorp.cdktf.DataTerraformRemoteStateArtifactoryConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataTerraformRemoteStateArtifactoryConfig>
- Enclosing interface:
DataTerraformRemoteStateArtifactoryConfig
@Stability(Deprecated)
@Deprecated
public static final class DataTerraformRemoteStateArtifactoryConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DataTerraformRemoteStateArtifactoryConfig>
Deprecated.
A builder for
DataTerraformRemoteStateArtifactoryConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.Sets the value ofDataTerraformRemoteStateConfig.getDefaults()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Sets the value ofDataTerraformRemoteStateConfig.getWorkspace()
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
defaults
@Stability(Experimental) public DataTerraformRemoteStateArtifactoryConfig.Builder defaults(Map<String, ? extends Object> defaults) Deprecated.Sets the value ofDataTerraformRemoteStateConfig.getDefaults()
- Parameters:
defaults
- the value to be set.- Returns:
this
-
workspace
@Stability(Experimental) public DataTerraformRemoteStateArtifactoryConfig.Builder workspace(String workspace) Deprecated.Sets the value ofDataTerraformRemoteStateConfig.getWorkspace()
- Parameters:
workspace
- the value to be set.- Returns:
this
-
password
@Stability(Deprecated) @Deprecated public DataTerraformRemoteStateArtifactoryConfig.Builder password(String password) Deprecated.Sets the value ofArtifactoryBackendConfig.getPassword()
- Parameters:
password
- (Required) - The password. This parameter is required.- Returns:
this
-
repo
@Stability(Deprecated) @Deprecated public DataTerraformRemoteStateArtifactoryConfig.Builder repo(String repo) Deprecated.Sets the value ofArtifactoryBackendConfig.getRepo()
- Parameters:
repo
- (Required) - The repository name. This parameter is required.- Returns:
this
-
subpath
@Stability(Deprecated) @Deprecated public DataTerraformRemoteStateArtifactoryConfig.Builder subpath(String subpath) Deprecated.Sets the value ofArtifactoryBackendConfig.getSubpath()
- Parameters:
subpath
- (Required) - Path within the repository. This parameter is required.- Returns:
this
-
url
@Stability(Deprecated) @Deprecated public DataTerraformRemoteStateArtifactoryConfig.Builder url(String url) Deprecated.Sets the value ofArtifactoryBackendConfig.getUrl()
- Parameters:
url
- (Required) - The URL. This parameter is required. Note that this is the base url to artifactory not the full repo and subpath.- Returns:
this
-
username
@Stability(Deprecated) @Deprecated public DataTerraformRemoteStateArtifactoryConfig.Builder username(String username) Deprecated.Sets the value ofArtifactoryBackendConfig.getUsername()
- Parameters:
username
- (Required) - The username. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataTerraformRemoteStateArtifactoryConfig>
- Returns:
- a new instance of
DataTerraformRemoteStateArtifactoryConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-