public static final class TestActionProps.Builder extends Object
TestActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TestActionProps |
build()
Builds the configured instance.
|
TestActionProps.Builder |
withArtifactBounds(ActionArtifactBounds value)
Sets the value of ArtifactBounds
|
TestActionProps.Builder |
withConfiguration(Object value)
Sets the value of Configuration
|
TestActionProps.Builder |
withInputArtifact(Artifact value)
Sets the value of InputArtifact
|
TestActionProps.Builder |
withOutputArtifactName(String value)
Sets the value of OutputArtifactName
|
TestActionProps.Builder |
withOwner(String value)
Sets the value of Owner
|
TestActionProps.Builder |
withProvider(String value)
Sets the value of Provider
|
TestActionProps.Builder |
withRunOrder(Number value)
Sets the value of RunOrder
|
TestActionProps.Builder |
withStage(IStage value)
Sets the value of Stage
|
TestActionProps.Builder |
withVersion(String value)
Sets the value of Version
|
public TestActionProps.Builder withArtifactBounds(ActionArtifactBounds value)
value - The upper and lower bounds on the number of input and output artifacts for this Action.thispublic TestActionProps.Builder withProvider(String value)
value - The service provider that the action calls.thispublic TestActionProps.Builder withConfiguration(@Nullable Object value)
value - The action's configuration. These are key-value pairs that specify input values for an action.
For more information, see the AWS CodePipeline User Guide.
http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirementsthispublic TestActionProps.Builder withInputArtifact(@Nullable Artifact value)
value - The source to use as input for this test.thispublic TestActionProps.Builder withOutputArtifactName(@Nullable String value)
value - The optional name of the output artifact.
If you provide a value here,
then the `outputArtifact` property of your Action will be non-null.
If you don't, `outputArtifact` will be `null`.thispublic TestActionProps.Builder withOwner(@Nullable String value)
value - The test Action owner (could be 'AWS', 'ThirdParty' or 'Custom').thispublic TestActionProps.Builder withVersion(@Nullable String value)
value - The test Action version.thispublic TestActionProps.Builder withRunOrder(@Nullable Number value)
value - The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.thispublic TestActionProps.Builder withStage(IStage value)
value - The Pipeline Stage to add this Action to.thispublic TestActionProps build()
TestActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.