Interface ClusterEventDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterEventDetail.Builder,
,ClusterEventDetail> SdkBuilder<ClusterEventDetail.Builder,
,ClusterEventDetail> SdkPojo
- Enclosing class:
ClusterEventDetail
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) of the HyperPod cluster associated with the event.clusterName
(String clusterName) The name of the HyperPod cluster associated with the event.description
(String description) A human-readable description of the event.default ClusterEventDetail.Builder
eventDetails
(Consumer<EventDetails.Builder> eventDetails) Additional details about the event, including event-specific metadata.eventDetails
(EventDetails eventDetails) Additional details about the event, including event-specific metadata.The unique identifier (UUID) of the event.The timestamp when the event occurred.instanceGroupName
(String instanceGroupName) The name of the instance group associated with the event, if applicable.instanceId
(String instanceId) The EC2 instance ID associated with the event, if applicable.resourceType
(String resourceType) The type of resource associated with the event.resourceType
(ClusterEventResourceType resourceType) The type of resource associated with the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventId
The unique identifier (UUID) of the event.
- Parameters:
eventId
- The unique identifier (UUID) of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The Amazon Resource Name (ARN) of the HyperPod cluster associated with the event.
- Parameters:
clusterArn
- The Amazon Resource Name (ARN) of the HyperPod cluster associated with the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the HyperPod cluster associated with the event.
- Parameters:
clusterName
- The name of the HyperPod cluster associated with the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupName
The name of the instance group associated with the event, if applicable.
- Parameters:
instanceGroupName
- The name of the instance group associated with the event, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The EC2 instance ID associated with the event, if applicable.
- Parameters:
instanceId
- The EC2 instance ID associated with the event, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource associated with the event. Valid values are
Cluster
,InstanceGroup
, orInstance
.- Parameters:
resourceType
- The type of resource associated with the event. Valid values areCluster
,InstanceGroup
, orInstance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource associated with the event. Valid values are
Cluster
,InstanceGroup
, orInstance
.- Parameters:
resourceType
- The type of resource associated with the event. Valid values areCluster
,InstanceGroup
, orInstance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventTime
The timestamp when the event occurred.
- Parameters:
eventTime
- The timestamp when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDetails
Additional details about the event, including event-specific metadata.
- Parameters:
eventDetails
- Additional details about the event, including event-specific metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDetails
Additional details about the event, including event-specific metadata.
This is a convenience method that creates an instance of theEventDetails.Builder
avoiding the need to create one manually viaEventDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventDetails(EventDetails)
.- Parameters:
eventDetails
- a consumer that will call methods onEventDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A human-readable description of the event.
- Parameters:
description
- A human-readable description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-