@Stability(value=Experimental) public static final class RepositoryProps.Builder extends Object implements software.amazon.jsii.Builder<RepositoryProps>
RepositoryProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryProps |
build()
Builds the configured instance.
|
RepositoryProps.Builder |
imageScanOnPush(Boolean imageScanOnPush)
Sets the value of
RepositoryProps.getImageScanOnPush() |
RepositoryProps.Builder |
imageTagMutability(TagMutability imageTagMutability)
Sets the value of
RepositoryProps.getImageTagMutability() |
RepositoryProps.Builder |
lifecycleRegistryId(String lifecycleRegistryId)
Sets the value of
RepositoryProps.getLifecycleRegistryId() |
RepositoryProps.Builder |
lifecycleRules(List<? extends LifecycleRule> lifecycleRules)
Sets the value of
RepositoryProps.getLifecycleRules() |
RepositoryProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
RepositoryProps.getRemovalPolicy() |
RepositoryProps.Builder |
repositoryName(String repositoryName)
Sets the value of
RepositoryProps.getRepositoryName() |
@Stability(value=Experimental) public RepositoryProps.Builder imageScanOnPush(Boolean imageScanOnPush)
RepositoryProps.getImageScanOnPush()imageScanOnPush - Enable the scan on push when creating the repository.this@Stability(value=Experimental) public RepositoryProps.Builder imageTagMutability(TagMutability imageTagMutability)
RepositoryProps.getImageTagMutability()imageTagMutability - The tag mutability setting for the repository.
If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten.this@Stability(value=Experimental) public RepositoryProps.Builder lifecycleRegistryId(String lifecycleRegistryId)
RepositoryProps.getLifecycleRegistryId()lifecycleRegistryId - The AWS account ID associated with the registry that contains the repository.this@Stability(value=Experimental) public RepositoryProps.Builder lifecycleRules(List<? extends LifecycleRule> lifecycleRules)
RepositoryProps.getLifecycleRules()lifecycleRules - Life cycle rules to apply to this registry.this@Stability(value=Experimental) public RepositoryProps.Builder removalPolicy(RemovalPolicy removalPolicy)
RepositoryProps.getRemovalPolicy()removalPolicy - Determine what happens to the repository when the resource/stack is deleted.this@Stability(value=Experimental) public RepositoryProps.Builder repositoryName(String repositoryName)
RepositoryProps.getRepositoryName()repositoryName - Name for this repository.this@Stability(value=Experimental) public RepositoryProps build()
build in interface software.amazon.jsii.Builder<RepositoryProps>RepositoryPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.