Interface GeneratedReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeneratedReport.Builder,,GeneratedReport> SdkBuilder<GeneratedReport.Builder,,GeneratedReport> SdkPojo
- Enclosing class:
GeneratedReport
@Mutable
@NotThreadSafe
public static interface GeneratedReport.Builder
extends SdkPojo, CopyableBuilder<GeneratedReport.Builder,GeneratedReport>
-
Method Summary
Modifier and TypeMethodDescriptionreportGenerationTime(Instant reportGenerationTime) The timestamp when the report was generated.default GeneratedReport.BuilderreportOutput(Consumer<ReportOutput.Builder> reportOutput) The output location or cause of a failure in report generation.reportOutput(ReportOutput reportOutput) The output location or cause of a failure in report generation.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
-
reportGenerationTime
The timestamp when the report was generated.
- Parameters:
reportGenerationTime- The timestamp when the report was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportOutput
The output location or cause of a failure in report generation.
- Parameters:
reportOutput- The output location or cause of a failure in report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportOutput
The output location or cause of a failure in report generation.
This is a convenience method that creates an instance of theReportOutput.Builderavoiding the need to create one manually viaReportOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportOutput(ReportOutput).- Parameters:
reportOutput- a consumer that will call methods onReportOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-