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