Interface GetFindingsReportStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>,Inspector2Response.Builder,SdkBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFindingsReportStatusResponse
public static interface GetFindingsReportStatusResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
destination
GetFindingsReportStatusResponse.Builder destination(Destination destination)
The destination of the report.
- Parameters:
destination- The destination of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default GetFindingsReportStatusResponse.Builder destination(Consumer<Destination.Builder> destination)
The destination of the report.
This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(Destination).- Parameters:
destination- a consumer that will call methods onDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(Destination)
-
errorCode
GetFindingsReportStatusResponse.Builder errorCode(String errorCode)
The error code of the report.
- Parameters:
errorCode- The error code of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportingErrorCode,ReportingErrorCode
-
errorCode
GetFindingsReportStatusResponse.Builder errorCode(ReportingErrorCode errorCode)
The error code of the report.
- Parameters:
errorCode- The error code of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportingErrorCode,ReportingErrorCode
-
errorMessage
GetFindingsReportStatusResponse.Builder errorMessage(String errorMessage)
The error message of the report.
- Parameters:
errorMessage- The error message of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
GetFindingsReportStatusResponse.Builder filterCriteria(FilterCriteria filterCriteria)
The filter criteria associated with the report.
- Parameters:
filterCriteria- The filter criteria associated with the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default GetFindingsReportStatusResponse.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
The filter criteria associated with the report.
This is a convenience method that creates an instance of theFilterCriteria.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterCriteria(FilterCriteria).- Parameters:
filterCriteria- a consumer that will call methods onFilterCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filterCriteria(FilterCriteria)
-
reportId
GetFindingsReportStatusResponse.Builder reportId(String reportId)
The ID of the report.
- Parameters:
reportId- The ID of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetFindingsReportStatusResponse.Builder status(String status)
The status of the report.
- Parameters:
status- The status of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExternalReportStatus,ExternalReportStatus
-
status
GetFindingsReportStatusResponse.Builder status(ExternalReportStatus status)
The status of the report.
- Parameters:
status- The status of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExternalReportStatus,ExternalReportStatus
-
-