public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
dataSource(EventDataSource dataSource)
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found
the event. |
Event.Builder |
dataSource(String dataSource)
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found
the event. |
Event.Builder |
eventClass(EventClass eventClass)
The class of the event.
|
Event.Builder |
eventClass(String eventClass)
The class of the event.
|
Event.Builder |
eventSource(String eventSource)
The AWS source that emitted the event.
|
Event.Builder |
id(String id)
The ID of the event.
|
Event.Builder |
name(String name)
The name of the event.
|
default Event.Builder |
resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
Event.Builder |
resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
Event.Builder |
resources(Collection<EventResource> resources)
An
EventResource object that contains information about the resource that emitted the event. |
Event.Builder |
resources(Consumer<EventResource.Builder>... resources)
An
EventResource object that contains information about the resource that emitted the event. |
Event.Builder |
resources(EventResource... resources)
An
EventResource object that contains information about the resource that emitted the event. |
Event.Builder |
time(Instant time)
A
Timestamp that specifies the time the event occurred. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEvent.Builder resourceCollection(ResourceCollection resourceCollection)
resourceCollection - The new value for the ResourceCollection property for this object.default Event.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
ResourceCollection.Builder avoiding the need to
create one manually via ResourceCollection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceCollection(ResourceCollection).resourceCollection - a consumer that will call methods on ResourceCollection.BuilderresourceCollection(ResourceCollection)Event.Builder id(String id)
The ID of the event.
id - The ID of the event.Event.Builder time(Instant time)
A Timestamp that specifies the time the event occurred.
time - A Timestamp that specifies the time the event occurred.Event.Builder eventSource(String eventSource)
The AWS source that emitted the event.
eventSource - The AWS source that emitted the event.Event.Builder name(String name)
The name of the event.
name - The name of the event.Event.Builder dataSource(String dataSource)
The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found
the event.
dataSource - The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis
found the event.EventDataSource,
EventDataSourceEvent.Builder dataSource(EventDataSource dataSource)
The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found
the event.
dataSource - The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis
found the event.EventDataSource,
EventDataSourceEvent.Builder eventClass(String eventClass)
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
eventClass - The class of the event. The class specifies what the event is related to, such as an infrastructure
change, a deployment, or a schema change.EventClass,
EventClassEvent.Builder eventClass(EventClass eventClass)
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
eventClass - The class of the event. The class specifies what the event is related to, such as an infrastructure
change, a deployment, or a schema change.EventClass,
EventClassEvent.Builder resources(Collection<EventResource> resources)
An EventResource object that contains information about the resource that emitted the event.
resources - An EventResource object that contains information about the resource that emitted the
event.Event.Builder resources(EventResource... resources)
An EventResource object that contains information about the resource that emitted the event.
resources - An EventResource object that contains information about the resource that emitted the
event.Event.Builder resources(Consumer<EventResource.Builder>... resources)
An EventResource object that contains information about the resource that emitted the event.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #resources(List) .resources - a consumer that will call methods on List.Builder #resources(List) Copyright © 2021. All rights reserved.