@Stability(value=Stable) public static final class ExternalDockerCredentialOptions.Builder extends Object implements software.amazon.jsii.Builder<ExternalDockerCredentialOptions>
ExternalDockerCredentialOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExternalDockerCredentialOptions.Builder |
assumeRole(IRole assumeRole)
Sets the value of
ExternalDockerCredentialOptions.getAssumeRole() |
ExternalDockerCredentialOptions |
build()
Builds the configured instance.
|
ExternalDockerCredentialOptions.Builder |
secretPasswordField(String secretPasswordField)
Sets the value of
ExternalDockerCredentialOptions.getSecretPasswordField() |
ExternalDockerCredentialOptions.Builder |
secretUsernameField(String secretUsernameField)
Sets the value of
ExternalDockerCredentialOptions.getSecretUsernameField() |
ExternalDockerCredentialOptions.Builder |
usages(List<? extends DockerCredentialUsage> usages)
Sets the value of
ExternalDockerCredentialOptions.getUsages() |
@Stability(value=Stable) public ExternalDockerCredentialOptions.Builder assumeRole(IRole assumeRole)
ExternalDockerCredentialOptions.getAssumeRole()assumeRole - An IAM role to assume prior to accessing the secret.this@Stability(value=Stable) public ExternalDockerCredentialOptions.Builder secretPasswordField(String secretPasswordField)
ExternalDockerCredentialOptions.getSecretPasswordField()secretPasswordField - The name of the JSON field of the secret which contains the secret/password.this@Stability(value=Stable) public ExternalDockerCredentialOptions.Builder secretUsernameField(String secretUsernameField)
ExternalDockerCredentialOptions.getSecretUsernameField()secretUsernameField - The name of the JSON field of the secret which contains the user/login name.this@Stability(value=Stable) public ExternalDockerCredentialOptions.Builder usages(List<? extends DockerCredentialUsage> usages)
ExternalDockerCredentialOptions.getUsages()usages - Defines which stages of the pipeline should be granted access to these credentials.this@Stability(value=Stable) public ExternalDockerCredentialOptions build()
build in interface software.amazon.jsii.Builder<ExternalDockerCredentialOptions>ExternalDockerCredentialOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.