Interface EntityAggregate.Builder

    • Method Detail

      • 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

        EntityAggregate.Builder count​(Integer 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

        EntityAggregate.Builder statuses​(Map<EntityStatusCode,​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.