Interface GetDashboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<GetDashboardResponse.Builder,
,GetDashboardResponse> SdkBuilder<GetDashboardResponse.Builder,
,GetDashboardResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDashboardResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp
(Instant createdTimestamp) The timestamp that shows when the dashboard was created.dashboardArn
(String dashboardArn) The ARN for the dashboard.lastRefreshFailureReason
(String lastRefreshFailureReason) Provides information about failures for the last scheduled refresh.lastRefreshId
(String lastRefreshId) The ID of the last dashboard refresh.default GetDashboardResponse.Builder
refreshSchedule
(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule for the dashboard, if configured.refreshSchedule
(RefreshSchedule refreshSchedule) The refresh schedule for the dashboard, if configured.The status of the dashboard.status
(DashboardStatus status) The status of the dashboard.terminationProtectionEnabled
(Boolean terminationProtectionEnabled) Indicates whether termination protection is enabled for the dashboard.The type of dashboard.type
(DashboardType type) The type of dashboard.updatedTimestamp
(Instant updatedTimestamp) The timestamp that shows when the dashboard was last updated.widgets
(Collection<Widget> widgets) An array of widgets for the dashboard.widgets
(Consumer<Widget.Builder>... widgets) An array of widgets for the dashboard.An array of widgets for the dashboard.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.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
-
dashboardArn
The ARN for the dashboard.
- Parameters:
dashboardArn
- The ARN for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of dashboard.
- Parameters:
type
- The type of dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of dashboard.
- Parameters:
type
- The type of dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dashboard.
- Parameters:
status
- The status of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dashboard.
- Parameters:
status
- The status of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
widgets
An array of widgets for the dashboard.
- Parameters:
widgets
- An array of widgets for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widgets for the dashboard.
- Parameters:
widgets
- An array of widgets for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widgets for 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:
-
refreshSchedule
The refresh schedule for the dashboard, if configured.
- Parameters:
refreshSchedule
- The refresh schedule for the dashboard, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchedule
default GetDashboardResponse.Builder refreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule for the dashboard, if configured.
This is a convenience method that creates an instance of theRefreshSchedule.Builder
avoiding the need to create one manually viaRefreshSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torefreshSchedule(RefreshSchedule)
.- Parameters:
refreshSchedule
- a consumer that will call methods onRefreshSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The timestamp that shows when the dashboard was created.
- Parameters:
createdTimestamp
- The timestamp that shows when the dashboard was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
The timestamp that shows when the dashboard was last updated.
- Parameters:
updatedTimestamp
- The timestamp that shows when the dashboard was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshId
The ID of the last dashboard refresh.
- Parameters:
lastRefreshId
- The ID of the last dashboard refresh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshFailureReason
Provides information about failures for the last scheduled refresh.
- Parameters:
lastRefreshFailureReason
- Provides information about failures for the last scheduled refresh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationProtectionEnabled
Indicates whether termination protection is enabled for the dashboard.
- Parameters:
terminationProtectionEnabled
- Indicates whether termination protection is enabled for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-