@Stability(value=Stable) public static final class CfnRepository.LifecyclePolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRepository.LifecyclePolicyProperty>
CfnRepository.LifecyclePolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRepository.LifecyclePolicyProperty |
build()
Builds the configured instance.
|
CfnRepository.LifecyclePolicyProperty.Builder |
lifecyclePolicyText(String lifecyclePolicyText)
Sets the value of
CfnRepository.LifecyclePolicyProperty.getLifecyclePolicyText() |
CfnRepository.LifecyclePolicyProperty.Builder |
registryId(String registryId)
Sets the value of
CfnRepository.LifecyclePolicyProperty.getRegistryId() |
@Stability(value=Stable) public CfnRepository.LifecyclePolicyProperty.Builder lifecyclePolicyText(String lifecyclePolicyText)
CfnRepository.LifecyclePolicyProperty.getLifecyclePolicyText()lifecyclePolicyText - The JSON repository policy text to apply to the repository.this@Stability(value=Stable) public CfnRepository.LifecyclePolicyProperty.Builder registryId(String registryId)
CfnRepository.LifecyclePolicyProperty.getRegistryId()registryId - The AWS account ID associated with the registry that contains the repository.
If you do not specify a registry, the default registry is assumed.this@Stability(value=Stable) public CfnRepository.LifecyclePolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnRepository.LifecyclePolicyProperty>CfnRepository.LifecyclePolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.