Class RegistryPolicyReference.Builder
java.lang.Object
software.amazon.awscdk.services.ecr.RegistryPolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RegistryPolicyReference>
- Enclosing interface:
RegistryPolicyReference
@Stability(Stable)
public static final class RegistryPolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<RegistryPolicyReference>
A builder for
RegistryPolicyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.registryId
(String registryId) Sets the value ofRegistryPolicyReference.getRegistryId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registryId
Sets the value ofRegistryPolicyReference.getRegistryId()
- Parameters:
registryId
- The RegistryId of the RegistryPolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RegistryPolicyReference>
- Returns:
- a new instance of
RegistryPolicyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-