Interface UpdateDashboardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>,SdkBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDashboardRequest
public static interface UpdateDashboardRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>
-
-
Method Summary
-
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 Detail
-
dashboardId
UpdateDashboardRequest.Builder dashboardId(String 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
UpdateDashboardRequest.Builder widgets(Collection<RequestWidget> 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
GetDashboardoperation 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
GetDashboardoperation 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
UpdateDashboardRequest.Builder widgets(RequestWidget... 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
GetDashboardoperation 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
GetDashboardoperation 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
UpdateDashboardRequest.Builder widgets(Consumer<RequestWidget.Builder>... 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
GetDashboardoperation 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.Builderavoiding the need to create one manually viaRequestWidget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#widgets(List.) - 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:
#widgets(java.util.Collection)
-
refreshSchedule
UpdateDashboardRequest.Builder refreshSchedule(RefreshSchedule 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.Builderavoiding the need to create one manually viaRefreshSchedule.builder().When the
Consumercompletes,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:
refreshSchedule(RefreshSchedule)
-
terminationProtectionEnabled
UpdateDashboardRequest.Builder terminationProtectionEnabled(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-