Class CfnServicePropsMixin.ImageRepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apprunner.CfnServicePropsMixin.ImageRepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ImageRepositoryProperty>
- Enclosing interface:
CfnServicePropsMixin.ImageRepositoryProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ImageRepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ImageRepositoryProperty>
A builder for
CfnServicePropsMixin.ImageRepositoryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.imageConfiguration(CfnServicePropsMixin.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageConfiguration()imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageConfiguration()imageIdentifier(String imageIdentifier) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageIdentifier()imageRepositoryType(String imageRepositoryType) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageRepositoryType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageConfiguration
@Stability(Stable) public CfnServicePropsMixin.ImageRepositoryProperty.Builder imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageConfiguration()- Parameters:
imageConfiguration- Configuration for running the identified image.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnServicePropsMixin.ImageRepositoryProperty.Builder imageConfiguration(CfnServicePropsMixin.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageConfiguration()- Parameters:
imageConfiguration- Configuration for running the identified image.- Returns:
this
-
imageIdentifier
@Stability(Stable) public CfnServicePropsMixin.ImageRepositoryProperty.Builder imageIdentifier(String imageIdentifier) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageIdentifier()- Parameters:
imageIdentifier- The identifier of an image. For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide .- Returns:
this
-
imageRepositoryType
@Stability(Stable) public CfnServicePropsMixin.ImageRepositoryProperty.Builder imageRepositoryType(String imageRepositoryType) Sets the value ofCfnServicePropsMixin.ImageRepositoryProperty.getImageRepositoryType()- Parameters:
imageRepositoryType- The type of the image repository. This reflects the repository provider and whether the repository is private or public.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ImageRepositoryProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ImageRepositoryProperty - Throws:
NullPointerException- if any required attribute was not provided
-