Interface AccountOverview.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountOverview.Builder,,AccountOverview> SdkBuilder<AccountOverview.Builder,,AccountOverview> SdkPojo
- Enclosing class:
AccountOverview
@Mutable
@NotThreadSafe
public static interface AccountOverview.Builder
extends SdkPojo, CopyableBuilder<AccountOverview.Builder,AccountOverview>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.accountRankings(Collection<MemberAccountRanking> accountRankings) A ranking of member accounts.accountRankings(Consumer<MemberAccountRanking.Builder>... accountRankings) A ranking of member accounts.accountRankings(MemberAccountRanking... accountRankings) A ranking of member accounts.accountStatus(String accountStatus) The status of the account.affectedAccountCount(Long affectedAccountCount) The number of accounts that have findings.delegatedAdminAccountId(String delegatedAdminAccountId) The account ID of the GuardDuty delegated administrator account.detectorId(String detectorId) The ID of the detector of the account.The Amazon Web Services Region of the detector.totalFindings(Long totalFindings) The total number of findings.totalMemberAccounts(Long totalMemberAccounts) The total number of member accounts.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
-
accountId
The Amazon Web Services account ID.
- Parameters:
accountId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountStatus
The status of the account.
- Parameters:
accountStatus- The status of the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorId
The ID of the detector of the account.
- Parameters:
detectorId- The ID of the detector of the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region of the detector.
- Parameters:
region- The Amazon Web Services Region of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegatedAdminAccountId
The account ID of the GuardDuty delegated administrator account.
- Parameters:
delegatedAdminAccountId- The account ID of the GuardDuty delegated administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalMemberAccounts
The total number of member accounts.
- Parameters:
totalMemberAccounts- The total number of member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalFindings
The total number of findings.
- Parameters:
totalFindings- The total number of findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedAccountCount
The number of accounts that have findings.
- Parameters:
affectedAccountCount- The number of accounts that have findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountRankings
A ranking of member accounts.
- Parameters:
accountRankings- A ranking of member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountRankings
A ranking of member accounts.
- Parameters:
accountRankings- A ranking of member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountRankings
A ranking of member accounts.
This is a convenience method that creates an instance of theMemberAccountRanking.Builderavoiding the need to create one manually viaMemberAccountRanking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountRankings(List<MemberAccountRanking>).- Parameters:
accountRankings- a consumer that will call methods onMemberAccountRanking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-