Interface OrganizationalAggregationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationalAggregationConfiguration.Builder,,OrganizationalAggregationConfiguration> SdkBuilder<OrganizationalAggregationConfiguration.Builder,,OrganizationalAggregationConfiguration> SdkPojo
- Enclosing class:
OrganizationalAggregationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaccounts(Collection<OrganizationalAccountEntry> accounts) A list of individual account entries that define additional accounts to include.accounts(Consumer<OrganizationalAccountEntry.Builder>... accounts) A list of individual account entries that define additional accounts to include.accounts(OrganizationalAccountEntry... accounts) A list of individual account entries that define additional accounts to include.organizationalUnits(Collection<OrganizationalUnitEntry> organizationalUnits) A list of organizational unit or root entries that define the organizational scope.organizationalUnits(Consumer<OrganizationalUnitEntry.Builder>... organizationalUnits) A list of organizational unit or root entries that define the organizational scope.organizationalUnits(OrganizationalUnitEntry... organizationalUnits) A list of organizational unit or root entries that define the organizational scope.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
-
organizationalUnits
OrganizationalAggregationConfiguration.Builder organizationalUnits(Collection<OrganizationalUnitEntry> organizationalUnits) A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.
- Parameters:
organizationalUnits- A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
OrganizationalAggregationConfiguration.Builder organizationalUnits(OrganizationalUnitEntry... organizationalUnits) A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.
- Parameters:
organizationalUnits- A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnits
OrganizationalAggregationConfiguration.Builder organizationalUnits(Consumer<OrganizationalUnitEntry.Builder>... organizationalUnits) A list of organizational unit or root entries that define the organizational scope. Each entry specifies an OU or root ID and the regions to monitor within it.
This is a convenience method that creates an instance of theOrganizationalUnitEntry.Builderavoiding the need to create one manually viaOrganizationalUnitEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationalUnits(List<OrganizationalUnitEntry>).- Parameters:
organizationalUnits- a consumer that will call methods onOrganizationalUnitEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accounts
OrganizationalAggregationConfiguration.Builder accounts(Collection<OrganizationalAccountEntry> accounts) A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.
- Parameters:
accounts- A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.
- Parameters:
accounts- A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
OrganizationalAggregationConfiguration.Builder accounts(Consumer<OrganizationalAccountEntry.Builder>... accounts) A list of individual account entries that define additional accounts to include. Each entry specifies an account ID and the regions to monitor within it.
This is a convenience method that creates an instance of theOrganizationalAccountEntry.Builderavoiding the need to create one manually viaOrganizationalAccountEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounts(List<OrganizationalAccountEntry>).- Parameters:
accounts- a consumer that will call methods onOrganizationalAccountEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-