Class CfnCustomActionType.ArtifactDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnCustomActionType.ArtifactDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomActionType.ArtifactDetailsProperty>
- Enclosing interface:
CfnCustomActionType.ArtifactDetailsProperty
@Stability(Stable)
public static final class CfnCustomActionType.ArtifactDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomActionType.ArtifactDetailsProperty>
A builder for
CfnCustomActionType.ArtifactDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maximumCount
(Number maximumCount) Sets the value ofCfnCustomActionType.ArtifactDetailsProperty.getMaximumCount()
minimumCount
(Number minimumCount) Sets the value ofCfnCustomActionType.ArtifactDetailsProperty.getMinimumCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumCount
@Stability(Stable) public CfnCustomActionType.ArtifactDetailsProperty.Builder maximumCount(Number maximumCount) Sets the value ofCfnCustomActionType.ArtifactDetailsProperty.getMaximumCount()
- Parameters:
maximumCount
- The maximum number of artifacts allowed for the action type. This parameter is required.- Returns:
this
-
minimumCount
@Stability(Stable) public CfnCustomActionType.ArtifactDetailsProperty.Builder minimumCount(Number minimumCount) Sets the value ofCfnCustomActionType.ArtifactDetailsProperty.getMinimumCount()
- Parameters:
minimumCount
- The minimum number of artifacts allowed for the action type. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomActionType.ArtifactDetailsProperty>
- Returns:
- a new instance of
CfnCustomActionType.ArtifactDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-