Interface JobReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobReport.Builder,,JobReport> SdkBuilder<JobReport.Builder,,JobReport> SdkPojo
- Enclosing class:
JobReport
@Mutable
@NotThreadSafe
public static interface JobReport.Builder
extends SdkPojo, CopyableBuilder<JobReport.Builder,JobReport>
-
Method Summary
Modifier and TypeMethodDescriptionjobDetailsUrl(String jobDetailsUrl) A URL to the detailed job results.A message associated with the job report.default JobReport.Buildermetrics(Consumer<JobReportMetrics.Builder> metrics) The aggregated job-level metrics for the run.metrics(JobReportMetrics metrics) The aggregated job-level metrics for the run.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
-
message
A message associated with the job report.
- Parameters:
message- A message associated with the job report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The aggregated job-level metrics for the run.
- Parameters:
metrics- The aggregated job-level metrics for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The aggregated job-level metrics for the run.
This is a convenience method that creates an instance of theJobReportMetrics.Builderavoiding the need to create one manually viaJobReportMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(JobReportMetrics).- Parameters:
metrics- a consumer that will call methods onJobReportMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDetailsUrl
A URL to the detailed job results.
- Parameters:
jobDetailsUrl- A URL to the detailed job results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-