Interface OrganizationEntityAggregate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationEntityAggregate.Builder,OrganizationEntityAggregate>,SdkBuilder<OrganizationEntityAggregate.Builder,OrganizationEntityAggregate>,SdkPojo
- Enclosing class:
- OrganizationEntityAggregate
public static interface OrganizationEntityAggregate.Builder extends SdkPojo, CopyableBuilder<OrganizationEntityAggregate.Builder,OrganizationEntityAggregate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrganizationEntityAggregate.Builderaccounts(Collection<AccountEntityAggregate> accounts)A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event.OrganizationEntityAggregate.Builderaccounts(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.OrganizationEntityAggregate.Builderaccounts(AccountEntityAggregate... accounts)A list of entity aggregates for each of the specified accounts in your organization that are affected by a specific event.OrganizationEntityAggregate.Buildercount(Integer count)The number of entities for the organization that match the filter criteria for the specified events.OrganizationEntityAggregate.BuildereventArn(String eventArn)A list of event ARNs (unique identifiers).OrganizationEntityAggregate.Builderstatuses(Map<EntityStatusCode,Integer> statuses)The number of affected entities aggregated by the entitiy status codes.OrganizationEntityAggregate.BuilderstatusesWithStrings(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
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
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
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
OrganizationEntityAggregate.Builder 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. 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 to#accounts(List.) - 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:
#accounts(java.util.Collection)
-
-