Interface OrganizationEntityAggregate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationEntityAggregate.Builder,,OrganizationEntityAggregate> SdkBuilder<OrganizationEntityAggregate.Builder,,OrganizationEntityAggregate> SdkPojo
- Enclosing class:
OrganizationEntityAggregate
-
Method Summary
Modifier and TypeMethodDescriptionaccounts(Collection<AccountEntityAggregate> accounts) A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event.accounts(Consumer<AccountEntityAggregate.Builder>... accounts) A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event.accounts(AccountEntityAggregate... accounts) A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event.The number of entities for the organization that match the filter criteria for the specified events.A list of event ARNs (unique identifiers).statuses(Map<EntityStatusCode, Integer> statuses) The number of affected entities aggregated by the entitiy status codes.statusesWithStrings(Map<String, Integer> statuses) The number of affected entities aggregated by the entitiy status codes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
awsAccountIdsprovided 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 noawsAccountIdsprovided 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
awsAccountIdsprovided 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 noawsAccountIdsprovided 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
This is a convenience method that creates an instance of theawsAccountIdsprovided in the request, this field will be empty in the response.AccountEntityAggregate.Builderavoiding the need to create one manually viaAccountEntityAggregate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounts(List<AccountEntityAggregate>).- Parameters:
accounts- a consumer that will call methods onAccountEntityAggregate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-