@Stability(value=Experimental) public static final class DependabotRegistry.Builder extends Object implements software.amazon.jsii.Builder<DependabotRegistry>
DependabotRegistry| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DependabotRegistry |
build()
Builds the configured instance.
|
DependabotRegistry.Builder |
key(String key)
Sets the value of
DependabotRegistry.getKey() |
DependabotRegistry.Builder |
organization(String organization)
Sets the value of
DependabotRegistry.getOrganization() |
DependabotRegistry.Builder |
password(String password)
Sets the value of
DependabotRegistry.getPassword() |
DependabotRegistry.Builder |
replacesBase(Boolean replacesBase)
Sets the value of
DependabotRegistry.getReplacesBase() |
DependabotRegistry.Builder |
token(String token)
Sets the value of
DependabotRegistry.getToken() |
DependabotRegistry.Builder |
type(DependabotRegistryType type)
Sets the value of
DependabotRegistry.getType() |
DependabotRegistry.Builder |
url(String url)
Sets the value of
DependabotRegistry.getUrl() |
DependabotRegistry.Builder |
username(String username)
Sets the value of
DependabotRegistry.getUsername() |
@Stability(value=Experimental) public DependabotRegistry.Builder type(DependabotRegistryType type)
DependabotRegistry.getType()type - Registry type e.g. 'npm-registry' or 'docker-registry'. This parameter is required.this@Stability(value=Experimental) public DependabotRegistry.Builder url(String url)
DependabotRegistry.getUrl()url - Url for the registry e.g. 'https://npm.pkg.github.com' or 'registry.hub.docker.com'. This parameter is required.this@Stability(value=Experimental) public DependabotRegistry.Builder key(String key)
DependabotRegistry.getKey()key - A reference to a Dependabot secret containing an access key for this registry.this@Stability(value=Experimental) public DependabotRegistry.Builder organization(String organization)
DependabotRegistry.getOrganization()organization - Used with the hex-organization registry type.this@Stability(value=Experimental) public DependabotRegistry.Builder password(String password)
DependabotRegistry.getPassword()password - A reference to a Dependabot secret containing the password for the specified user.this@Stability(value=Experimental) public DependabotRegistry.Builder replacesBase(Boolean replacesBase)
DependabotRegistry.getReplacesBase()replacesBase - For registries with type: python-index, if the boolean value is true, pip esolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default https://pypi.org/simple).this@Stability(value=Experimental) public DependabotRegistry.Builder token(String token)
DependabotRegistry.getToken()token - Secret token for dependabot access e.g. '${{ secrets.DEPENDABOT_PACKAGE_TOKEN }}'.this@Stability(value=Experimental) public DependabotRegistry.Builder username(String username)
DependabotRegistry.getUsername()username - The username that Dependabot uses to access the registry.this@Stability(value=Experimental) public DependabotRegistry build()
build in interface software.amazon.jsii.Builder<DependabotRegistry>DependabotRegistryNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.