Interface OrganizationEntityAggregate.Builder

  • Method Details

    • 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

      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

      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

      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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accounts(List<AccountEntityAggregate>).

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