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.BuilderreportDestination(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
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
-
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
CreationTimeis 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 ofCreationTimeis 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
CompletionTimeis 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 ofCompletionTimeis 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 | FAILEDCOMPLETEDmeans that the report is available for your review at your designated destination. If the status isFAILED, review theStatusMessagefor the reason.- Parameters:
status- The status of a report job. The statuses are:CREATED | RUNNING | COMPLETED | FAILEDCOMPLETEDmeans that the report is available for your review at your designated destination. If the status isFAILED, review theStatusMessagefor 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.Builderavoiding the need to create one manually viaReportDestination.builder().When the
Consumercompletes,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:
-