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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOrganizationsResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.ListOrganizationsResponse.BuilderorganizationSummaries(Collection<OrganizationSummary> organizationSummaries)The overview of owned organizations presented as a list of organization summaries.ListOrganizationsResponse.BuilderorganizationSummaries(Consumer<OrganizationSummary.Builder>... organizationSummaries)The overview of owned organizations presented as a list of organization summaries.ListOrganizationsResponse.BuilderorganizationSummaries(OrganizationSummary... organizationSummaries)The overview of owned organizations presented as a list of organization summaries.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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 to#organizationSummaries(List.) - 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:
#organizationSummaries(java.util.Collection)
-
nextToken
ListOrganizationsResponse.Builder nextToken(String 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.
-
-