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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOrganizationAdminAccountsResponse.Builderadministrators(Collection<Administrator> administrators)The list of Detective administrator accounts.ListOrganizationAdminAccountsResponse.Builderadministrators(Consumer<Administrator.Builder>... administrators)The list of Detective administrator accounts.ListOrganizationAdminAccountsResponse.Builderadministrators(Administrator... administrators)The list of Detective administrator accounts.ListOrganizationAdminAccountsResponse.BuildernextToken(String 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListOrganizationAdminAccountsResponse.Builder administrators(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
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 to#administrators(List.) - 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:
#administrators(java.util.Collection)
-
nextToken
ListOrganizationAdminAccountsResponse.Builder nextToken(String 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.
-
-