Interface OrganizationStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrganizationStatistics.Builder,
,OrganizationStatistics> SdkBuilder<OrganizationStatistics.Builder,
,OrganizationStatistics> SdkPojo
- Enclosing class:
OrganizationStatistics
@Mutable
@NotThreadSafe
public static interface OrganizationStatistics.Builder
extends SdkPojo, CopyableBuilder<OrganizationStatistics.Builder,OrganizationStatistics>
-
Method Summary
Modifier and TypeMethodDescriptionactiveAccountsCount
(Integer activeAccountsCount) Total number of active accounts in your Amazon Web Services organization that are associated with GuardDuty.countByFeature
(Collection<OrganizationFeatureStatistics> countByFeature) Retrieves the coverage statistics for each feature.countByFeature
(Consumer<OrganizationFeatureStatistics.Builder>... countByFeature) Retrieves the coverage statistics for each feature.countByFeature
(OrganizationFeatureStatistics... countByFeature) Retrieves the coverage statistics for each feature.enabledAccountsCount
(Integer enabledAccountsCount) Total number of accounts that have enabled GuardDuty.memberAccountsCount
(Integer memberAccountsCount) Total number of accounts in your Amazon Web Services organization that are associated with GuardDuty.totalAccountsCount
(Integer totalAccountsCount) Total number of accounts in your Amazon Web Services organization.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 Details
-
totalAccountsCount
Total number of accounts in your Amazon Web Services organization.
- Parameters:
totalAccountsCount
- Total number of accounts in your Amazon Web Services organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccountsCount
Total number of accounts in your Amazon Web Services organization that are associated with GuardDuty.
- Parameters:
memberAccountsCount
- Total number of accounts in your Amazon Web Services organization that are associated with GuardDuty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeAccountsCount
Total number of active accounts in your Amazon Web Services organization that are associated with GuardDuty.
- Parameters:
activeAccountsCount
- Total number of active accounts in your Amazon Web Services organization that are associated with GuardDuty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledAccountsCount
Total number of accounts that have enabled GuardDuty.
- Parameters:
enabledAccountsCount
- Total number of accounts that have enabled GuardDuty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countByFeature
OrganizationStatistics.Builder countByFeature(Collection<OrganizationFeatureStatistics> countByFeature) Retrieves the coverage statistics for each feature.
- Parameters:
countByFeature
- Retrieves the coverage statistics for each feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countByFeature
Retrieves the coverage statistics for each feature.
- Parameters:
countByFeature
- Retrieves the coverage statistics for each feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countByFeature
OrganizationStatistics.Builder countByFeature(Consumer<OrganizationFeatureStatistics.Builder>... countByFeature) Retrieves the coverage statistics for each feature.
This is a convenience method that creates an instance of theOrganizationFeatureStatistics.Builder
avoiding the need to create one manually viaOrganizationFeatureStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocountByFeature(List<OrganizationFeatureStatistics>)
.- Parameters:
countByFeature
- a consumer that will call methods onOrganizationFeatureStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-