Interface ListViewsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<ListViewsResponse.Builder,,ListViewsResponse> SdkBuilder<ListViewsResponse.Builder,,ListViewsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListViewsResponse
@Mutable
@NotThreadSafe
public static interface ListViewsResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<ListViewsResponse.Builder,ListViewsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ViewSummary> items) The list of view summaries.items(Consumer<ViewSummary.Builder>... items) The list of view summaries.items(ViewSummary... items) The list of view 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 view summaries.
- Parameters:
items- The list of view summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of view summaries.
- Parameters:
items- The list of view summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of view summaries.
This is a convenience method that creates an instance of theViewSummary.Builderavoiding the need to create one manually viaViewSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ViewSummary>).- Parameters:
items- a consumer that will call methods onViewSummary.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.
-