Package software.amazon.awscdk.pipelines
Class ECRSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.pipelines.ECRSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ECRSourceOptions>
- Enclosing interface:
ECRSourceOptions
@Stability(Stable)
public static final class ECRSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ECRSourceOptions>
A builder for
ECRSourceOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofECRSourceOptions.getActionName()
build()
Builds the configured instance.Sets the value ofECRSourceOptions.getImageTag()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
Sets the value ofECRSourceOptions.getActionName()
- Parameters:
actionName
- The action name used for this source in the CodePipeline.- Returns:
this
-
imageTag
Sets the value ofECRSourceOptions.getImageTag()
- Parameters:
imageTag
- The image tag that will be checked for changes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ECRSourceOptions>
- Returns:
- a new instance of
ECRSourceOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-