@Stability(value=Experimental) public static final class OnImageScanCompletedOptions.Builder extends Object implements software.amazon.jsii.Builder<OnImageScanCompletedOptions>
OnImageScanCompletedOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OnImageScanCompletedOptions |
build()
Builds the configured instance.
|
OnImageScanCompletedOptions.Builder |
description(String description)
Sets the value of
OnEventOptions.getDescription() |
OnImageScanCompletedOptions.Builder |
eventPattern(EventPattern eventPattern)
Sets the value of
OnEventOptions.getEventPattern() |
OnImageScanCompletedOptions.Builder |
imageTags(List<String> imageTags)
Sets the value of
OnImageScanCompletedOptions.getImageTags() |
OnImageScanCompletedOptions.Builder |
ruleName(String ruleName)
Sets the value of
OnEventOptions.getRuleName() |
OnImageScanCompletedOptions.Builder |
target(IRuleTarget target)
Sets the value of
OnEventOptions.getTarget() |
@Stability(value=Experimental) public OnImageScanCompletedOptions.Builder imageTags(List<String> imageTags)
OnImageScanCompletedOptions.getImageTags()imageTags - Only watch changes to the image tags spedified.
Leave it undefined to watch the full repository.this@Stability(value=Experimental) public OnImageScanCompletedOptions.Builder description(String description)
OnEventOptions.getDescription()description - A description of the rule's purpose.this@Stability(value=Experimental) public OnImageScanCompletedOptions.Builder eventPattern(EventPattern eventPattern)
OnEventOptions.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=Experimental) public OnImageScanCompletedOptions.Builder ruleName(String ruleName)
OnEventOptions.getRuleName()ruleName - A name for the rule.this@Stability(value=Experimental) public OnImageScanCompletedOptions.Builder target(IRuleTarget target)
OnEventOptions.getTarget()target - The target to register for the event.this@Stability(value=Experimental) public OnImageScanCompletedOptions build()
build in interface software.amazon.jsii.Builder<OnImageScanCompletedOptions>OnImageScanCompletedOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.