Interface ListDashboardsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<ListDashboardsResponse.Builder,ListDashboardsResponse>
,SdkBuilder<ListDashboardsResponse.Builder,ListDashboardsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListDashboardsResponse
public static interface ListDashboardsResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<ListDashboardsResponse.Builder,ListDashboardsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDashboardsResponse.Builder
dashboardEntries(Collection<DashboardEntry> dashboardEntries)
The list of matching dashboards.ListDashboardsResponse.Builder
dashboardEntries(Consumer<DashboardEntry.Builder>... dashboardEntries)
The list of matching dashboards.ListDashboardsResponse.Builder
dashboardEntries(DashboardEntry... dashboardEntries)
The list of matching dashboards.ListDashboardsResponse.Builder
nextToken(String nextToken)
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, responseMetadata
-
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
-
-
-
-
Method Detail
-
dashboardEntries
ListDashboardsResponse.Builder dashboardEntries(Collection<DashboardEntry> 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(DashboardEntry... 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.Builder
avoiding the need to create one manually viaDashboardEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dashboardEntries(List
.) - 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:
#dashboardEntries(java.util.Collection
)
-
nextToken
ListDashboardsResponse.Builder nextToken(String 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.
-
-