Interface ListSpacesForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<ListSpacesForOrganizationResponse.Builder,,ListSpacesForOrganizationResponse> SdkBuilder<ListSpacesForOrganizationResponse.Builder,,ListSpacesForOrganizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSpacesForOrganizationResponse
@Mutable
@NotThreadSafe
public static interface ListSpacesForOrganizationResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<ListSpacesForOrganizationResponse.Builder,ListSpacesForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<SpaceSummary> items) The list of space summaries.items(Consumer<SpaceSummary.Builder>... items) The list of space summaries.items(SpaceSummary... items) The list of space summaries.A token to retrieve the next page of results, or null if there are no more results.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of space summaries.
- Parameters:
items- The list of space summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of space summaries.
- Parameters:
items- The list of space summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of space summaries.
This is a convenience method that creates an instance of theSpaceSummary.Builderavoiding the need to create one manually viaSpaceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<SpaceSummary>).- Parameters:
items- a consumer that will call methods onSpaceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to retrieve the next page of results, or null if there are no more results.
- Parameters:
nextToken- A token to retrieve the next page of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-