Interface UpdateScheduledReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BcmDashboardsRequest.Builder,Buildable,CopyableBuilder<UpdateScheduledReportRequest.Builder,,UpdateScheduledReportRequest> SdkBuilder<UpdateScheduledReportRequest.Builder,,UpdateScheduledReportRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateScheduledReportRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the scheduled report to update.clearWidgetDateRangeOverride(Boolean clearWidgetDateRangeOverride) Set to true to clear existing widgetDateRangeOverride.clearWidgetIds(Boolean clearWidgetIds) Set to true to clear existing widgetIds.dashboardArn(String dashboardArn) The ARN of the dashboard to associate with the scheduled report.description(String description) The new description for the scheduled report.The new name for the scheduled report.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) The updated schedule configuration for the report.scheduleConfig(ScheduleConfig scheduleConfig) The updated schedule configuration for the report.scheduledReportExecutionRoleArn(String scheduledReportExecutionRoleArn) The ARN of the IAM role that the scheduled report uses to execute.widgetDateRangeOverride(Consumer<DateTimeRange.Builder> widgetDateRangeOverride) The date range override to apply to widgets in the scheduled report.widgetDateRangeOverride(DateTimeRange widgetDateRangeOverride) The date range override to apply to widgets in the scheduled report.The list of widget identifiers to include in the scheduled report.widgetIds(Collection<String> widgetIds) The list of widget identifiers to include in the scheduled report.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bcmdashboards.model.BcmDashboardsRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
arn
The ARN of the scheduled report to update.
- Parameters:
arn- The ARN of the scheduled report to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name for the scheduled report.
- Parameters:
name- The new name for the scheduled report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description for the scheduled report.
- Parameters:
description- The new description for the scheduled report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardArn
The ARN of the dashboard to associate with the scheduled report.
- Parameters:
dashboardArn- The ARN of the dashboard to associate with the scheduled report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledReportExecutionRoleArn
UpdateScheduledReportRequest.Builder scheduledReportExecutionRoleArn(String scheduledReportExecutionRoleArn) The ARN of the IAM role that the scheduled report uses to execute. Amazon Web Services Billing and Cost Management Dashboards will assume this IAM role while executing the scheduled report.
- Parameters:
scheduledReportExecutionRoleArn- The ARN of the IAM role that the scheduled report uses to execute. Amazon Web Services Billing and Cost Management Dashboards will assume this IAM role while executing the scheduled report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
The updated schedule configuration for the report.
- Parameters:
scheduleConfig- The updated schedule configuration for the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
default UpdateScheduledReportRequest.Builder scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) The updated schedule configuration for the report.
This is a convenience method that creates an instance of theScheduleConfig.Builderavoiding the need to create one manually viaScheduleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfig(ScheduleConfig).- Parameters:
scheduleConfig- a consumer that will call methods onScheduleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
widgetIds
The list of widget identifiers to include in the scheduled report. If not specified, all widgets in the dashboard are included.
- Parameters:
widgetIds- The list of widget identifiers to include in the scheduled report. If not specified, all widgets in the dashboard are included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgetIds
The list of widget identifiers to include in the scheduled report. If not specified, all widgets in the dashboard are included.
- Parameters:
widgetIds- The list of widget identifiers to include in the scheduled report. If not specified, all widgets in the dashboard are included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgetDateRangeOverride
The date range override to apply to widgets in the scheduled report.
- Parameters:
widgetDateRangeOverride- The date range override to apply to widgets in the scheduled report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgetDateRangeOverride
default UpdateScheduledReportRequest.Builder widgetDateRangeOverride(Consumer<DateTimeRange.Builder> widgetDateRangeOverride) The date range override to apply to widgets in the scheduled report.
This is a convenience method that creates an instance of theDateTimeRange.Builderavoiding the need to create one manually viaDateTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towidgetDateRangeOverride(DateTimeRange).- Parameters:
widgetDateRangeOverride- a consumer that will call methods onDateTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clearWidgetIds
Set to true to clear existing widgetIds.
- Parameters:
clearWidgetIds- Set to true to clear existing widgetIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clearWidgetDateRangeOverride
UpdateScheduledReportRequest.Builder clearWidgetDateRangeOverride(Boolean clearWidgetDateRangeOverride) Set to true to clear existing widgetDateRangeOverride.
- Parameters:
clearWidgetDateRangeOverride- Set to true to clear existing widgetDateRangeOverride.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateScheduledReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateScheduledReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-