Interface ListDashboardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<ListDashboardsResponse.Builder,,ListDashboardsResponse> SdkBuilder<ListDashboardsResponse.Builder,,ListDashboardsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDashboardsResponse
@Mutable
@NotThreadSafe
public static interface ListDashboardsResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<ListDashboardsResponse.Builder,ListDashboardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondashboardEntries(Collection<DashboardEntry> dashboardEntries) The list of matching dashboards.dashboardEntries(Consumer<DashboardEntry.Builder>... dashboardEntries) The list of matching dashboards.dashboardEntries(DashboardEntry... dashboardEntries) The list of matching dashboards.The token that marks the start of the next batch of returned results.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.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
-
dashboardEntries
The list of matching dashboards.
- Parameters:
dashboardEntries- The list of matching dashboards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardEntries
The list of matching dashboards.
- Parameters:
dashboardEntries- The list of matching dashboards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardEntries
ListDashboardsResponse.Builder dashboardEntries(Consumer<DashboardEntry.Builder>... dashboardEntries) The list of matching dashboards.
This is a convenience method that creates an instance of theDashboardEntry.Builderavoiding the need to create one manually viaDashboardEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todashboardEntries(List<DashboardEntry>).- Parameters:
dashboardEntries- a consumer that will call methods onDashboardEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that marks the start of the next batch of returned results.
- Parameters:
nextToken- The token that marks the start of the next batch of returned results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-