Interface Event.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Event.Builder,,- Event> - SdkBuilder<Event.Builder,,- Event> - SdkPojo
- Enclosing class:
- Event
- 
Method SummaryModifier and TypeMethodDescriptiondataSource(String dataSource) The source,AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, where DevOps Guru analysis found the event.dataSource(EventDataSource dataSource) The source,AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, where DevOps Guru analysis found the event.eventClass(String eventClass) The class of the event.eventClass(EventClass eventClass) The class of the event.eventSource(String eventSource) The Amazon Web Services source that emitted the event.The ID of the event.The name of the event.default Event.BuilderresourceCollection(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object.resourceCollection(ResourceCollection resourceCollection) Sets the value of the ResourceCollection property for this object.resources(Collection<EventResource> resources) AnEventResourceobject that contains information about the resource that emitted the event.resources(Consumer<EventResource.Builder>... resources) AnEventResourceobject that contains information about the resource that emitted the event.resources(EventResource... resources) AnEventResourceobject that contains information about the resource that emitted the event.ATimestampthat specifies the time the event occurred.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
resourceCollectionSets the value of the ResourceCollection property for this object.- Parameters:
- resourceCollection- The new value for the ResourceCollection property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceCollectionSets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theResourceCollection.Builderavoiding the need to create one manually viaResourceCollection.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceCollection(ResourceCollection).- Parameters:
- resourceCollection- a consumer that will call methods on- ResourceCollection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
idThe ID of the event. - Parameters:
- id- The ID of the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeA Timestampthat specifies the time the event occurred.- Parameters:
- time- A- Timestampthat specifies the time the event occurred.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventSourceThe Amazon Web Services source that emitted the event. - Parameters:
- eventSource- The Amazon Web Services source that emitted the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the event. - Parameters:
- name- The name of the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceThe source, AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, where DevOps Guru analysis found the event.- Parameters:
- dataSource- The source,- AWS_CLOUD_TRAILor- AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dataSourceThe source, AWS_CLOUD_TRAILorAWS_CODE_DEPLOY, where DevOps Guru analysis found the event.- Parameters:
- dataSource- The source,- AWS_CLOUD_TRAILor- AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventClassThe class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventClassThe class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourcesAn EventResourceobject that contains information about the resource that emitted the event.- Parameters:
- resources- An- EventResourceobject that contains information about the resource that emitted the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourcesAn EventResourceobject that contains information about the resource that emitted the event.- Parameters:
- resources- An- EventResourceobject that contains information about the resource that emitted the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourcesAn This is a convenience method that creates an instance of theEventResourceobject that contains information about the resource that emitted the event.EventResource.Builderavoiding the need to create one manually viaEventResource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<EventResource>).- Parameters:
- resources- a consumer that will call methods on- EventResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-