@Stability(value=Experimental) public static final class EventPattern.Builder extends Object
EventPattern| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventPattern |
build()
Builds the configured instance.
|
EventPattern.Builder |
withAccount(List<String> value)
Sets the value of Account
|
EventPattern.Builder |
withDetail(Object value)
Sets the value of Detail
|
EventPattern.Builder |
withDetailType(List<String> value)
Sets the value of DetailType
|
EventPattern.Builder |
withId(List<String> value)
Sets the value of Id
|
EventPattern.Builder |
withRegion(List<String> value)
Sets the value of Region
|
EventPattern.Builder |
withResources(List<String> value)
Sets the value of Resources
|
EventPattern.Builder |
withSource(List<String> value)
Sets the value of Source
|
EventPattern.Builder |
withTime(List<String> value)
Sets the value of Time
|
EventPattern.Builder |
withVersion(List<String> value)
Sets the value of Version
|
@Stability(value=Experimental) public EventPattern.Builder withAccount(@Nullable List<String> value)
value - The 12-digit number identifying an AWS account.this@Stability(value=Experimental) public EventPattern.Builder withDetail(@Nullable Object value)
value - A JSON object, whose content is at the discretion of the service originating the event.this@Stability(value=Experimental) public EventPattern.Builder withDetailType(@Nullable List<String> value)
value - Identifies, in combination with the source field, the fields and values that appear in the detail field.this@Stability(value=Experimental) public EventPattern.Builder withId(@Nullable List<String> value)
value - A unique value is generated for every event.this@Stability(value=Experimental) public EventPattern.Builder withRegion(@Nullable List<String> value)
value - Identifies the AWS region where the event originated.this@Stability(value=Experimental) public EventPattern.Builder withResources(@Nullable List<String> value)
value - This JSON array contains ARNs that identify resources that are involved in the event.this@Stability(value=Experimental) public EventPattern.Builder withSource(@Nullable List<String> value)
value - Identifies the service that sourced the event.this@Stability(value=Experimental) public EventPattern.Builder withTime(@Nullable List<String> value)
value - The event timestamp, which can be specified by the service originating the event.this@Stability(value=Experimental) public EventPattern.Builder withVersion(@Nullable List<String> value)
value - By default, this is set to 0 (zero) in all events.this@Stability(value=Experimental) public EventPattern build()
EventPatternNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.