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