Interface ReportJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReportJob.Builder,
,ReportJob> SdkBuilder<ReportJob.Builder,
,ReportJob> SdkPojo
- Enclosing class:
ReportJob
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime
(Instant completionTime) The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC).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.reportDestination
(ReportDestination reportDestination) The S3 bucket name and S3 keys for the destination where the report job publishes the report.reportJobId
(String reportJobId) The identifier for a report job.reportPlanArn
(String reportPlanArn) An Amazon Resource Name (ARN) that uniquely identifies a resource.reportTemplate
(String reportTemplate) Identifies the report template for the report.The status of a report job.statusMessage
(String statusMessage) A message explaining the status of the report job.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
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
creationTime
- The date and time that a report job 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.
-
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.- Parameters:
completionTime
- The date and time that a report job is completed, in Unix format and Coordinated Universal Time (UTC). The value ofCompletionTime
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.
-
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 isFAILED
, review theStatusMessage
for the reason.- Parameters:
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 isFAILED
, review theStatusMessage
for the reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
A message explaining the status of the report job.
- Parameters:
statusMessage
- A message explaining the status of the report job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDestination
The S3 bucket name and S3 keys for the destination where the report job publishes the report.
- Parameters:
reportDestination
- The S3 bucket name and S3 keys for the destination where the report job publishes the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaReportDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreportDestination(ReportDestination)
.- Parameters:
reportDestination
- a consumer that will call methods onReportDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-