Class EcrPublicProps.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.EcrPublicProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EcrPublicProps>
- Enclosing interface:
EcrPublicProps
@Stability(Experimental)
public static final class EcrPublicProps.Builder
extends Object
implements software.amazon.jsii.Builder<EcrPublicProps>
A builder for
EcrPublicProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.imageConfiguration
(ImageConfiguration imageConfiguration) Sets the value ofEcrPublicProps.getImageConfiguration()
imageIdentifier
(String imageIdentifier) Sets the value ofEcrPublicProps.getImageIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageIdentifier
Sets the value ofEcrPublicProps.getImageIdentifier()
- Parameters:
imageIdentifier
- The ECR Public image URI. This parameter is required.- Returns:
this
-
imageConfiguration
@Stability(Experimental) public EcrPublicProps.Builder imageConfiguration(ImageConfiguration imageConfiguration) Sets the value ofEcrPublicProps.getImageConfiguration()
- Parameters:
imageConfiguration
- The image configuration for the image from ECR Public.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EcrPublicProps>
- Returns:
- a new instance of
EcrPublicProps
- Throws:
NullPointerException
- if any required attribute was not provided
-