Interface ReportPlan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReportPlan.Builder,
,ReportPlan> SdkBuilder<ReportPlan.Builder,
,ReportPlan> SdkPojo
- Enclosing class:
ReportPlan
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).deploymentStatus
(String deploymentStatus) The deployment status of a report plan.lastAttemptedExecutionTime
(Instant lastAttemptedExecutionTime) The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC).lastSuccessfulExecutionTime
(Instant lastSuccessfulExecutionTime) The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC).default ReportPlan.Builder
reportDeliveryChannel
(Consumer<ReportDeliveryChannel.Builder> reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.reportDeliveryChannel
(ReportDeliveryChannel reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.reportPlanArn
(String reportPlanArn) An Amazon Resource Name (ARN) that uniquely identifies a resource.reportPlanDescription
(String reportPlanDescription) An optional description of the report plan with a maximum 1,024 characters.reportPlanName
(String reportPlanName) The unique name of the report plan.default ReportPlan.Builder
reportSetting
(Consumer<ReportSetting.Builder> reportSetting) Identifies the report template for the report.reportSetting
(ReportSetting reportSetting) Identifies the report template for the report.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, sdkFields
-
Method Details
-
reportPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Parameters:
reportPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportPlanName
The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
- Parameters:
reportPlanName
- The unique name of the report plan. This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportPlanDescription
An optional description of the report plan with a maximum 1,024 characters.
- Parameters:
reportPlanDescription
- An optional description of the report plan with a maximum 1,024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportSetting
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
RESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.- Parameters:
reportSetting
- Identifies the report template for the report. Reports are built using a report template. The report templates are:RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
RESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportSetting
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
This is a convenience method that creates an instance of theRESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.ReportSetting.Builder
avoiding the need to create one manually viaReportSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreportSetting(ReportSetting)
.- Parameters:
reportSetting
- a consumer that will call methods onReportSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportDeliveryChannel
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
- Parameters:
reportDeliveryChannel
- Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDeliveryChannel
default ReportPlan.Builder reportDeliveryChannel(Consumer<ReportDeliveryChannel.Builder> reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
This is a convenience method that creates an instance of theReportDeliveryChannel.Builder
avoiding the need to create one manually viaReportDeliveryChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreportDeliveryChannel(ReportDeliveryChannel)
.- Parameters:
reportDeliveryChannel
- a consumer that will call methods onReportDeliveryChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStatus
The deployment status of a report plan. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
- Parameters:
deploymentStatus
- The deployment status of a report plan. The statuses are:CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
creationTime
- The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAttemptedExecutionTime
The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value of
LastAttemptedExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastAttemptedExecutionTime
- The date and time that a report job associated with this report plan last attempted to run, in Unix format and Coordinated Universal Time (UTC). The value ofLastAttemptedExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulExecutionTime
The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value of
LastSuccessfulExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastSuccessfulExecutionTime
- The date and time that a report job associated with this report plan last successfully ran, in Unix format and Coordinated Universal Time (UTC). The value ofLastSuccessfulExecutionTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-