Interface ListDashboardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<ListDashboardsResponse.Builder,,ListDashboardsResponse> SdkBuilder<ListDashboardsResponse.Builder,,ListDashboardsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDashboardsResponse
@Mutable
@NotThreadSafe
public static interface ListDashboardsResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<ListDashboardsResponse.Builder,ListDashboardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondashboards(Collection<DashboardDetail> dashboards) Contains information about dashboards in the account, in the current Region that match the applied filters.dashboards(Consumer<DashboardDetail.Builder>... dashboards) Contains information about dashboards in the account, in the current Region that match the applied filters.dashboards(DashboardDetail... dashboards) Contains information about dashboards in the account, in the current Region that match the applied filters.A token you can use to get the next page of dashboard results.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.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
-
dashboards
Contains information about dashboards in the account, in the current Region that match the applied filters.
- Parameters:
dashboards- Contains information about dashboards in the account, in the current Region that match the applied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboards
Contains information about dashboards in the account, in the current Region that match the applied filters.
- Parameters:
dashboards- Contains information about dashboards in the account, in the current Region that match the applied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboards
Contains information about dashboards in the account, in the current Region that match the applied filters.
This is a convenience method that creates an instance of theDashboardDetail.Builderavoiding the need to create one manually viaDashboardDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todashboards(List<DashboardDetail>).- Parameters:
dashboards- a consumer that will call methods onDashboardDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token you can use to get the next page of dashboard results.
- Parameters:
nextToken- A token you can use to get the next page of dashboard results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-