Interface AutomationEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomationEvent.Builder,,AutomationEvent> SdkBuilder<AutomationEvent.Builder,,AutomationEvent> SdkPojo
- Enclosing class:
AutomationEvent
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID associated with the automation event.completedTimestamp(Instant completedTimestamp) The timestamp when the automation event completed.createdTimestamp(Instant createdTimestamp) The timestamp when the automation event was created.default AutomationEvent.BuilderestimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly cost savings associated with this automation event.estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly cost savings associated with this automation event.eventDescription(String eventDescription) A description of the automation event.The unique identifier for the automation event.eventStatus(String eventStatus) The current status of the automation event.eventStatus(EventStatus eventStatus) The current status of the automation event.eventStatusReason(String eventStatusReason) The reason for the current event status.The type of automation event.The type of automation event.recommendedActionId(String recommendedActionId) The ID of the recommended action associated with this automation event.The Amazon Web Services Region where the automation event occurred.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the resource affected by the automation event.resourceId(String resourceId) The ID of the resource affected by the automation event.resourceType(String resourceType) The type of resource affected by the automation event.resourceType(ResourceType resourceType) The type of resource affected by the automation event.The ID of the automation rule that triggered this event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventId
The unique identifier for the automation event.
- Parameters:
eventId- The unique identifier for the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDescription
A description of the automation event.
- Parameters:
eventDescription- A description of the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of automation event.
- Parameters:
eventType- The type of automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The type of automation event.
- Parameters:
eventType- The type of automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
The current status of the automation event.
- Parameters:
eventStatus- The current status of the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
The current status of the automation event.
- Parameters:
eventStatus- The current status of the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatusReason
The reason for the current event status.
- Parameters:
eventStatusReason- The reason for the current event status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) of the resource affected by the automation event.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource affected by the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource affected by the automation event.
- Parameters:
resourceId- The ID of the resource affected by the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionId
The ID of the recommended action associated with this automation event.
- Parameters:
recommendedActionId- The ID of the recommended action associated with this automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID associated with the automation event.
- Parameters:
accountId- The Amazon Web Services account ID associated with the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region where the automation event occurred.
- Parameters:
region- The Amazon Web Services Region where the automation event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The ID of the automation rule that triggered this event.
- Parameters:
ruleId- The ID of the automation rule that triggered this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource affected by the automation event.
- Parameters:
resourceType- The type of resource affected by the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource affected by the automation event.
- Parameters:
resourceType- The type of resource affected by the automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The timestamp when the automation event was created.
- Parameters:
createdTimestamp- The timestamp when the automation event was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedTimestamp
The timestamp when the automation event completed.
- Parameters:
completedTimestamp- The timestamp when the automation event completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
The estimated monthly cost savings associated with this automation event.
- Parameters:
estimatedMonthlySavings- The estimated monthly cost savings associated with this automation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default AutomationEvent.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly cost savings associated with this automation event.
This is a convenience method that creates an instance of theEstimatedMonthlySavings.Builderavoiding the need to create one manually viaEstimatedMonthlySavings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedMonthlySavings(EstimatedMonthlySavings).- Parameters:
estimatedMonthlySavings- a consumer that will call methods onEstimatedMonthlySavings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-