@Stability(value=Stable) public static final class OnCloudTrailImagePushedOptions.Builder extends Object implements software.amazon.jsii.Builder<OnCloudTrailImagePushedOptions>
OnCloudTrailImagePushedOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OnCloudTrailImagePushedOptions |
build()
Builds the configured instance.
|
OnCloudTrailImagePushedOptions.Builder |
crossStackScope(software.constructs.Construct crossStackScope)
Sets the value of
EventCommonOptions.getCrossStackScope() |
OnCloudTrailImagePushedOptions.Builder |
description(String description)
Sets the value of
EventCommonOptions.getDescription() |
OnCloudTrailImagePushedOptions.Builder |
eventPattern(EventPattern eventPattern)
Sets the value of
EventCommonOptions.getEventPattern() |
OnCloudTrailImagePushedOptions.Builder |
imageTag(String imageTag)
Sets the value of
OnCloudTrailImagePushedOptions.getImageTag() |
OnCloudTrailImagePushedOptions.Builder |
ruleName(String ruleName)
Sets the value of
EventCommonOptions.getRuleName() |
OnCloudTrailImagePushedOptions.Builder |
target(IRuleTarget target)
Sets the value of
OnEventOptions.getTarget() |
@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder imageTag(String imageTag)
OnCloudTrailImagePushedOptions.getImageTag()imageTag - Only watch changes to this image tag.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder target(IRuleTarget target)
OnEventOptions.getTarget()target - The target to register for the event.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder crossStackScope(software.constructs.Construct crossStackScope)
EventCommonOptions.getCrossStackScope()crossStackScope - The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).
This helps dealing with cycles that often arise in these situations.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder description(String description)
EventCommonOptions.getDescription()description - A description of the rule's purpose.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder eventPattern(EventPattern eventPattern)
EventCommonOptions.getEventPattern()eventPattern - Additional restrictions for the event to route to the specified target.
The method that generates the rule probably imposes some type of event
filtering. The filtering implied by what you pass here is added
on top of that filtering.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions.Builder ruleName(String ruleName)
EventCommonOptions.getRuleName()ruleName - A name for the rule.this@Stability(value=Stable) public OnCloudTrailImagePushedOptions build()
build in interface software.amazon.jsii.Builder<OnCloudTrailImagePushedOptions>OnCloudTrailImagePushedOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.