Interface GetDashboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmDashboardsResponse.Builder
,Buildable
,CopyableBuilder<GetDashboardResponse.Builder,
,GetDashboardResponse> SdkBuilder<GetDashboardResponse.Builder,
,GetDashboardResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDashboardResponse
@Mutable
@NotThreadSafe
public static interface GetDashboardResponse.Builder
extends BcmDashboardsResponse.Builder, SdkPojo, CopyableBuilder<GetDashboardResponse.Builder,GetDashboardResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the retrieved dashboard.The timestamp when the dashboard was created.description
(String description) The description of the retrieved dashboard.The name of the retrieved dashboard.Indicates the dashboard type.type
(DashboardType type) Indicates the dashboard type.The timestamp when the dashboard was last modified.widgets
(Collection<Widget> widgets) An array of widget configurations that make up the dashboard.widgets
(Consumer<Widget.Builder>... widgets) An array of widget configurations that make up the dashboard.An array of widget configurations that make up the dashboard.Methods inherited from interface software.amazon.awssdk.services.bcmdashboards.model.BcmDashboardsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The ARN of the retrieved dashboard.
- Parameters:
arn
- The ARN of the retrieved dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the retrieved dashboard.
- Parameters:
name
- The name of the retrieved dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the retrieved dashboard.
- Parameters:
description
- The description of the retrieved dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Indicates the dashboard type.
- Parameters:
type
- Indicates the dashboard type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Indicates the dashboard type.
- Parameters:
type
- Indicates the dashboard type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
widgets
An array of widget configurations that make up the dashboard.
- Parameters:
widgets
- An array of widget configurations that make up the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widget configurations that make up the dashboard.
- Parameters:
widgets
- An array of widget configurations that make up the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widget configurations that make up the dashboard.
This is a convenience method that creates an instance of theWidget.Builder
avoiding the need to create one manually viaWidget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towidgets(List<Widget>)
.- Parameters:
widgets
- a consumer that will call methods onWidget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the dashboard was created.
- Parameters:
createdAt
- The timestamp when the dashboard was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the dashboard was last modified.
- Parameters:
updatedAt
- The timestamp when the dashboard was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-