@Stability(value=Stable) public static final class S3SourceOptions.Builder extends Object implements software.amazon.jsii.Builder<S3SourceOptions>
S3SourceOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3SourceOptions.Builder |
actionName(String actionName)
Sets the value of
S3SourceOptions.getActionName() |
S3SourceOptions |
build()
Builds the configured instance.
|
S3SourceOptions.Builder |
role(IRole role)
Sets the value of
S3SourceOptions.getRole() |
S3SourceOptions.Builder |
trigger(S3Trigger trigger)
Sets the value of
S3SourceOptions.getTrigger() |
@Stability(value=Stable) public S3SourceOptions.Builder actionName(String actionName)
S3SourceOptions.getActionName()actionName - The action name used for this source in the CodePipeline.this@Stability(value=Stable) public S3SourceOptions.Builder role(IRole role)
S3SourceOptions.getRole()role - The role that will be assumed by the pipeline prior to executing the `S3Source` action.this@Stability(value=Stable) public S3SourceOptions.Builder trigger(S3Trigger trigger)
S3SourceOptions.getTrigger()trigger - How should CodePipeline detect source changes for this Action.
Note that if this is S3Trigger.EVENTS, you need to make sure to include the source Bucket in a CloudTrail Trail,
as otherwise the CloudWatch Events will not be emitted.this@Stability(value=Stable) public S3SourceOptions build()
build in interface software.amazon.jsii.Builder<S3SourceOptions>S3SourceOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.