public static final class SourceActionProps.Builder extends Object
SourceActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SourceActionProps |
build()
Builds the configured instance.
|
SourceActionProps.Builder |
withArtifactName(String value)
Sets the value of ArtifactName
|
SourceActionProps.Builder |
withConfiguration(Object value)
Sets the value of Configuration
|
SourceActionProps.Builder |
withOwner(String value)
Sets the value of Owner
|
SourceActionProps.Builder |
withProvider(String value)
Sets the value of Provider
|
SourceActionProps.Builder |
withStage(IStage value)
Sets the value of Stage
|
SourceActionProps.Builder |
withVersion(String value)
Sets the value of Version
|
public SourceActionProps.Builder withArtifactName(String value)
value - The name of the source's output artifact.
Output artifacts are used by CodePipeline as inputs into other actions.thispublic SourceActionProps.Builder withConfiguration(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 SourceActionProps.Builder withProvider(String value)
value - The service provider that the action calls.
For example, a valid provider for Source actions is "S3".thispublic SourceActionProps.Builder withOwner(@Nullable String value)
value - The source action owner (could be "AWS", "ThirdParty" or "Custom").thispublic SourceActionProps.Builder withVersion(@Nullable String value)
value - The source action verison.thispublic SourceActionProps.Builder withStage(IStage value)
value - The Pipeline Stage to add this Action to.thispublic SourceActionProps build()
SourceActionPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.