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