Interface ScheduledReportInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledReportInput.Builder,,ScheduledReportInput> SdkBuilder<ScheduledReportInput.Builder,,ScheduledReportInput> SdkPojo
- Enclosing class:
ScheduledReportInput
-
Method Summary
Modifier and TypeMethodDescriptiondashboardArn(String dashboardArn) The ARN of the dashboard to generate the scheduled report from.description(String description) A description of the scheduled report's purpose or contents.The name of the scheduled report.default ScheduledReportInput.BuilderscheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) The schedule configuration that defines when and how often the report is generated.scheduleConfig(ScheduleConfig scheduleConfig) The schedule configuration that defines when and how often the report is generated.scheduledReportExecutionRoleArn(String scheduledReportExecutionRoleArn) The ARN of the IAM role that the scheduled report uses to execute.default ScheduledReportInput.BuilderwidgetDateRangeOverride(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.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
-
name
The name of the scheduled report.
- Parameters:
name- The name of 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 generate the scheduled report from.
- Parameters:
dashboardArn- The ARN of the dashboard to generate the scheduled report from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledReportExecutionRoleArn
ScheduledReportInput.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 schedule configuration that defines when and how often the report is generated. If the schedule state is not specified, it defaults to
ENABLED.- Parameters:
scheduleConfig- The schedule configuration that defines when and how often the report is generated. If the schedule state is not specified, it defaults toENABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
default ScheduledReportInput.Builder scheduleConfig(Consumer<ScheduleConfig.Builder> scheduleConfig) The schedule configuration that defines when and how often the report is generated. If the schedule state is not specified, it defaults to
This is a convenience method that creates an instance of theENABLED.ScheduleConfig.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:
-
description
A description of the scheduled report's purpose or contents.
- Parameters:
description- A description of the scheduled report's purpose or contents.- 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.
-
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 ScheduledReportInput.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:
-