public static final class S3SourceOptions.Builder
extends java.lang.Object
S3SourceOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
S3SourceOptions.Builder |
actionName(java.lang.String actionName)
Sets the value of
S3SourceOptions.getActionName() |
S3SourceOptions |
build()
Builds the configured instance.
|
S3SourceOptions.Builder |
trigger(S3Trigger trigger)
Sets the value of
S3SourceOptions.getTrigger() |
public S3SourceOptions.Builder actionName(java.lang.String actionName)
S3SourceOptions.getActionName()
actionName
- The action name used for this source in the CodePipeline.this
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
public S3SourceOptions build()
S3SourceOptions
java.lang.NullPointerException
- if any required attribute was not provided