Interface OrganizationEntityAggregate.Builder

    • Method Detail

      • eventArn

        OrganizationEntityAggregate.Builder eventArn​(String eventArn)

        A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

        Parameters:
        eventArn - A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        OrganizationEntityAggregate.Builder count​(Integer count)

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

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

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

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

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

        OrganizationEntityAggregate.Builder statuses​(Map<EntityStatusCode,​Integer> statuses)

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

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

        OrganizationEntityAggregate.Builder accounts​(Collection<AccountEntityAggregate> accounts)

        A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event. If there are no awsAccountIds provided in the request, this field will be empty in the response.

        Parameters:
        accounts - A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event. If there are no awsAccountIds provided in the request, this field will be empty in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accounts

        OrganizationEntityAggregate.Builder accounts​(AccountEntityAggregate... accounts)

        A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event. If there are no awsAccountIds provided in the request, this field will be empty in the response.

        Parameters:
        accounts - A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event. If there are no awsAccountIds provided in the request, this field will be empty in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.