Interface ClusterEventDetail.Builder

  • 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

      ClusterEventDetail.Builder clusterArn(String 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

      ClusterEventDetail.Builder clusterName(String 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

      ClusterEventDetail.Builder instanceGroupName(String 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

      ClusterEventDetail.Builder instanceId(String 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

      ClusterEventDetail.Builder resourceType(String resourceType)

      The type of resource associated with the event. Valid values are Cluster, InstanceGroup, or Instance.

      Parameters:
      resourceType - The type of resource associated with the event. Valid values are Cluster, InstanceGroup, or Instance.
      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, or Instance.

      Parameters:
      resourceType - The type of resource associated with the event. Valid values are Cluster, InstanceGroup, or Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventTime

      ClusterEventDetail.Builder eventTime(Instant 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

      ClusterEventDetail.Builder eventDetails(EventDetails 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

      default ClusterEventDetail.Builder eventDetails(Consumer<EventDetails.Builder> eventDetails)

      Additional details about the event, including event-specific metadata.

      This is a convenience method that creates an instance of the EventDetails.Builder avoiding the need to create one manually via EventDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventDetails(EventDetails).

      Parameters:
      eventDetails - a consumer that will call methods on EventDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      ClusterEventDetail.Builder description(String 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.