Interface ListOrganizationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOrganizationsResponse.Builder,,ListOrganizationsResponse> SdkBuilder<ListOrganizationsResponse.Builder,,ListOrganizationsResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
ListOrganizationsResponse
public static interface ListOrganizationsResponse.Builder
extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListOrganizationsResponse.Builder,ListOrganizationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.organizationSummaries(Collection<OrganizationSummary> organizationSummaries) The overview of owned organizations presented as a list of organization summaries.organizationSummaries(Consumer<OrganizationSummary.Builder>... organizationSummaries) The overview of owned organizations presented as a list of organization summaries.organizationSummaries(OrganizationSummary... organizationSummaries) The overview of owned organizations presented as a list of organization summaries.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
organizationSummaries
ListOrganizationsResponse.Builder organizationSummaries(Collection<OrganizationSummary> organizationSummaries) The overview of owned organizations presented as a list of organization summaries.
- Parameters:
organizationSummaries- The overview of owned organizations presented as a list of organization summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationSummaries
ListOrganizationsResponse.Builder organizationSummaries(OrganizationSummary... organizationSummaries) The overview of owned organizations presented as a list of organization summaries.
- Parameters:
organizationSummaries- The overview of owned organizations presented as a list of organization summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationSummaries
ListOrganizationsResponse.Builder organizationSummaries(Consumer<OrganizationSummary.Builder>... organizationSummaries) The overview of owned organizations presented as a list of organization summaries.
This is a convenience method that creates an instance of theOrganizationSummary.Builderavoiding the need to create one manually viaOrganizationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganizationSummaries(List<OrganizationSummary>).- Parameters:
organizationSummaries- a consumer that will call methods onOrganizationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-