Interface ReportGenerationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReportGenerationResult.Builder,,ReportGenerationResult> SdkBuilder<ReportGenerationResult.Builder,,ReportGenerationResult> SdkPojo
- Enclosing class:
ReportGenerationResult
@Mutable
@NotThreadSafe
public static interface ReportGenerationResult.Builder
extends SdkPojo, CopyableBuilder<ReportGenerationResult.Builder,ReportGenerationResult>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentId(String assessmentId) Present for FAILURE_MODE reports.The timestamp when the report was created.default ReportGenerationResult.BuilderreportOutput(Consumer<ReportOutput.Builder> reportOutput) Present when status is SUCCEEDED or FAILED.reportOutput(ReportOutput reportOutput) Present when status is SUCCEEDED or FAILED.reportType(String reportType) The type of the generated report.reportType(ReportType reportType) The type of the generated report.serviceArn(String serviceArn) The service this report was generated for.The status of the report generation.status(ReportGenerationStatus status) The status of the report generation.Sets the value of the TestRunId property for this object.testTemplateArn(String testTemplateArn) Sets the value of the TestTemplateArn property for this object.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
-
reportType
The type of the generated report.
- Parameters:
reportType- The type of the generated report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportType
The type of the generated report.
- Parameters:
reportType- The type of the generated report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the report generation.
- Parameters:
status- The status of the report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the report generation.
- Parameters:
status- The status of the report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceArn
The service this report was generated for.
- Parameters:
serviceArn- The service this report was generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentId
Present for FAILURE_MODE reports.
- Parameters:
assessmentId- Present for FAILURE_MODE reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRunId
Sets the value of the TestRunId property for this object.- Parameters:
testRunId- The new value for the TestRunId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testTemplateArn
Sets the value of the TestTemplateArn property for this object.- Parameters:
testTemplateArn- The new value for the TestTemplateArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the report was created.
- Parameters:
createdAt- The timestamp when the report was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportOutput
Present when status is SUCCEEDED or FAILED.
- Parameters:
reportOutput- Present when status is SUCCEEDED or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportOutput
Present when status is SUCCEEDED or FAILED.
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:
-