Interface EventDetailsErrorItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventDetailsErrorItem.Builder,,EventDetailsErrorItem> SdkBuilder<EventDetailsErrorItem.Builder,,EventDetailsErrorItem> SdkPojo
- Enclosing class:
EventDetailsErrorItem
@Mutable
@NotThreadSafe
public static interface EventDetailsErrorItem.Builder
extends SdkPojo, CopyableBuilder<EventDetailsErrorItem.Builder,EventDetailsErrorItem>
-
Method Summary
Modifier and TypeMethodDescriptionerrorMessage(String errorMessage) A message that describes the error.The name of the error.The unique identifier for the 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
-
eventArn
The unique identifier for the event. The event ARN has the
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_IDformat.For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456- Parameters:
eventArn- The unique identifier for the event. The event ARN has thearn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_IDformat.For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorName
The name of the error.
- Parameters:
errorName- The name of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A message that describes the error.
- Parameters:
errorMessage- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-