Interface UpdateDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudTrailRequest.Builder
,CopyableBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> SdkBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDashboardRequest
-
Method Summary
Modifier and TypeMethodDescriptiondashboardId
(String dashboardId) The name or ARN of the dashboard.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateDashboardRequest.Builder
refreshSchedule
(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule configuration for the dashboard.refreshSchedule
(RefreshSchedule refreshSchedule) The refresh schedule configuration for the dashboard.terminationProtectionEnabled
(Boolean terminationProtectionEnabled) Specifies whether termination protection is enabled for the dashboard.widgets
(Collection<RequestWidget> widgets) An array of widgets for the dashboard.widgets
(Consumer<RequestWidget.Builder>... widgets) An array of widgets for the dashboard.widgets
(RequestWidget... widgets) An array of widgets for the dashboard.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
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
-
Method Details
-
dashboardId
The name or ARN of the dashboard.
- Parameters:
dashboardId
- The name or ARN of 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. A custom dashboard can have a maximum of 10 widgets.
To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the
GetDashboard
operation to get the list of widgets for the dashboard.To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.
- Parameters:
widgets
- An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the
GetDashboard
operation to get the list of widgets for the dashboard.To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.
To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the
GetDashboard
operation to get the list of widgets for the dashboard.To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.
- Parameters:
widgets
- An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the
GetDashboard
operation to get the list of widgets for the dashboard.To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.
To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the
GetDashboard
operation to get the list of widgets for the dashboard.To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.
This is a convenience method that creates an instance of theRequestWidget.Builder
avoiding the need to create one manually viaRequestWidget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towidgets(List<RequestWidget>)
.- Parameters:
widgets
- a consumer that will call methods onRequestWidget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
refreshSchedule
The refresh schedule configuration for the dashboard.
- Parameters:
refreshSchedule
- The refresh schedule configuration for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSchedule
default UpdateDashboardRequest.Builder refreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule) The refresh schedule configuration for the dashboard.
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:
-
terminationProtectionEnabled
Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.
- Parameters:
terminationProtectionEnabled
- Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-