@Stability(value=Stable) public static final class GitHubSourceActionProps.Builder extends Object
GitHubSourceActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitHubSourceActionProps.Builder |
actionName(String actionName)
Sets the value of ActionName
|
GitHubSourceActionProps.Builder |
branch(String branch)
Sets the value of Branch
|
GitHubSourceActionProps |
build()
Builds the configured instance.
|
GitHubSourceActionProps.Builder |
oauthToken(SecretValue oauthToken)
Sets the value of OauthToken
|
GitHubSourceActionProps.Builder |
output(Artifact output)
Sets the value of Output
|
GitHubSourceActionProps.Builder |
owner(String owner)
Sets the value of Owner
|
GitHubSourceActionProps.Builder |
repo(String repo)
Sets the value of Repo
|
GitHubSourceActionProps.Builder |
runOrder(Number runOrder)
Sets the value of RunOrder
|
GitHubSourceActionProps.Builder |
trigger(GitHubTrigger trigger)
Sets the value of Trigger
|
@Stability(value=Stable) public GitHubSourceActionProps.Builder oauthToken(SecretValue oauthToken)
oauthToken - A GitHub OAuth token to use for authentication. This parameter is required.this@Stability(value=Stable) public GitHubSourceActionProps.Builder output(Artifact output)
output - the value to be set. This parameter is required.this@Stability(value=Stable) public GitHubSourceActionProps.Builder owner(String owner)
owner - The GitHub account/user that owns the repo. This parameter is required.this@Stability(value=Stable) public GitHubSourceActionProps.Builder repo(String repo)
repo - The name of the repo, without the username. This parameter is required.this@Stability(value=Stable) public GitHubSourceActionProps.Builder branch(String branch)
branch - The branch to use.this@Stability(value=Stable) public GitHubSourceActionProps.Builder trigger(GitHubTrigger trigger)
trigger - How AWS CodePipeline should be triggered.this@Stability(value=Stable) public GitHubSourceActionProps.Builder actionName(String actionName)
actionName - The physical, human-readable name of the Action. Not that Action names must be unique within a single Stage. This parameter is required.this@Stability(value=Stable) public GitHubSourceActionProps.Builder runOrder(Number runOrder)
runOrder - The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Stable) public GitHubSourceActionProps build()
GitHubSourceActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.