Package com.hashicorp.cdktf
Class ArtifactoryBackendConfig.Builder
java.lang.Object
com.hashicorp.cdktf.ArtifactoryBackendConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArtifactoryBackendConfig>
- Enclosing interface:
ArtifactoryBackendConfig
@Stability(Deprecated)
@Deprecated
public static final class ArtifactoryBackendConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ArtifactoryBackendConfig>
Deprecated.
A builder for
ArtifactoryBackendConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
password
@Stability(Deprecated) @Deprecated public ArtifactoryBackendConfig.Builder password(String password) Deprecated.Sets the value ofArtifactoryBackendConfig.getPassword()
- Parameters:
password
- (Required) - The password. This parameter is required.- Returns:
this
-
repo
Deprecated.Sets the value ofArtifactoryBackendConfig.getRepo()
- Parameters:
repo
- (Required) - The repository name. This parameter is required.- Returns:
this
-
subpath
Deprecated.Sets the value ofArtifactoryBackendConfig.getSubpath()
- Parameters:
subpath
- (Required) - Path within the repository. This parameter is required.- Returns:
this
-
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 ArtifactoryBackendConfig.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<ArtifactoryBackendConfig>
- Returns:
- a new instance of
ArtifactoryBackendConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-