public static interface ReportJob.Builder extends SdkPojo, CopyableBuilder<ReportJob.Builder,ReportJob>
| Modifier and Type | Method and Description |
|---|---|
ReportJob.Builder |
completionTime(Instant completionTime)
The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC).
|
ReportJob.Builder |
creationTime(Instant creationTime)
The date and time that a report job is created, in Unix format and Coordinated Universal Time (UTC).
|
default ReportJob.Builder |
reportDestination(Consumer<ReportDestination.Builder> reportDestination)
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
|
ReportJob.Builder |
reportDestination(ReportDestination reportDestination)
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
|
ReportJob.Builder |
reportJobId(String reportJobId)
The identifier for a report job.
|
ReportJob.Builder |
reportPlanArn(String reportPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
ReportJob.Builder |
reportTemplate(String reportTemplate)
Identifies the report template for the report.
|
ReportJob.Builder |
status(String status)
The status of a report job.
|
ReportJob.Builder |
statusMessage(String statusMessage)
A message explaining the status of the report job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReportJob.Builder reportJobId(String reportJobId)
The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. Report job IDs cannot be edited.
reportJobId - The identifier for a report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is
at most 1,024 bytes long. Report job IDs cannot be edited.ReportJob.Builder reportPlanArn(String reportPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
reportPlanArn - An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on
the resource type.ReportJob.Builder reportTemplate(String reportTemplate)
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
reportTemplate - 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
ReportJob.Builder creationTime(Instant creationTime)
The date and time that a report job 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.
creationTime - The date and time that a report job 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.ReportJob.Builder completionTime(Instant completionTime)
The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC). The
value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
completionTime - The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC).
The value of CompletionTime is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.ReportJob.Builder status(String status)
The status of a report job. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
COMPLETED means that the report is available for your review at your designated destination. If
the status is FAILED, review the StatusMessage for the reason.
status - The status of a report job. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
COMPLETED means that the report is available for your review at your designated
destination. If the status is FAILED, review the StatusMessage for the
reason.
ReportJob.Builder statusMessage(String statusMessage)
A message explaining the status of the report job.
statusMessage - A message explaining the status of the report job.ReportJob.Builder reportDestination(ReportDestination reportDestination)
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
reportDestination - The S3 bucket name and S3 keys for the destination where the report job publishes the report.default ReportJob.Builder reportDestination(Consumer<ReportDestination.Builder> reportDestination)
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
This is a convenience method that creates an instance of theReportDestination.Builder avoiding the
need to create one manually via ReportDestination.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to reportDestination(ReportDestination).
reportDestination - a consumer that will call methods on ReportDestination.BuilderreportDestination(ReportDestination)Copyright © 2023. All rights reserved.