@Stability(value=Experimental) public static final class CodeBuildProjectProps.Builder extends Object implements software.amazon.jsii.Builder<CodeBuildProjectProps>
CodeBuildProjectProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeBuildProjectProps |
build()
Builds the configured instance.
|
CodeBuildProjectProps.Builder |
event(RuleTargetInput event)
Sets the value of
CodeBuildProjectProps.getEvent() |
CodeBuildProjectProps.Builder |
eventRole(IRole eventRole)
Sets the value of
CodeBuildProjectProps.getEventRole() |
@Stability(value=Experimental) public CodeBuildProjectProps.Builder event(RuleTargetInput event)
CodeBuildProjectProps.getEvent()event - The event to send to CodeBuild.
This will be the payload for the StartBuild API.this@Stability(value=Experimental) public CodeBuildProjectProps.Builder eventRole(IRole eventRole)
CodeBuildProjectProps.getEventRole()eventRole - The role to assume before invoking the target (i.e., the codebuild) when the given rule is triggered.this@Stability(value=Experimental) public CodeBuildProjectProps build()
build in interface software.amazon.jsii.Builder<CodeBuildProjectProps>CodeBuildProjectPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.