Interface EntityAggregate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EntityAggregate.Builder,EntityAggregate>, SdkBuilder<EntityAggregate.Builder,EntityAggregate>, SdkPojo
Enclosing class:
EntityAggregate

public static interface EntityAggregate.Builder extends SdkPojo, CopyableBuilder<EntityAggregate.Builder,EntityAggregate>
  • Method Details

    • eventArn

      EntityAggregate.Builder eventArn(String 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_ID format.

      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 the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID format.

      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.
    • count

      The number of entities that match the criteria for the specified events.

      Parameters:
      count - The number of entities that match the criteria for the specified events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusesWithStrings

      EntityAggregate.Builder statusesWithStrings(Map<String,Integer> statuses)

      The number of affected entities aggregated by the entity status codes.

      Parameters:
      statuses - The number of affected entities aggregated by the entity status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statuses

      The number of affected entities aggregated by the entity status codes.

      Parameters:
      statuses - The number of affected entities aggregated by the entity status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.