Interface ListOrganizationAdminAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,,ListOrganizationAdminAccountsResponse> DetectiveResponse.Builder,SdkBuilder<ListOrganizationAdminAccountsResponse.Builder,,ListOrganizationAdminAccountsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOrganizationAdminAccountsResponse
public static interface ListOrganizationAdminAccountsResponse.Builder
extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadministrators(Collection<Administrator> administrators) The list of Detective administrator accounts.administrators(Consumer<Administrator.Builder>... administrators) The list of Detective administrator accounts.administrators(Administrator... administrators) The list of Detective administrator accounts.If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
administrators
ListOrganizationAdminAccountsResponse.Builder administrators(Collection<Administrator> administrators) The list of Detective administrator accounts.
- Parameters:
administrators- The list of Detective administrator accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrators
The list of Detective administrator accounts.
- Parameters:
administrators- The list of Detective administrator accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrators
ListOrganizationAdminAccountsResponse.Builder administrators(Consumer<Administrator.Builder>... administrators) The list of Detective administrator accounts.
This is a convenience method that creates an instance of theAdministrator.Builderavoiding the need to create one manually viaAdministrator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadministrators(List<Administrator>).- Parameters:
administrators- a consumer that will call methods onAdministrator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.
- Parameters:
nextToken- If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-