Interface GetFindingsReportStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingsReportStatusResponse.Builder,
,GetFindingsReportStatusResponse> Inspector2Response.Builder
,SdkBuilder<GetFindingsReportStatusResponse.Builder,
,GetFindingsReportStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFindingsReportStatusResponse
@Mutable
@NotThreadSafe
public static interface GetFindingsReportStatusResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(Consumer<Destination.Builder> destination) The destination of the report.destination
(Destination destination) The destination of the report.The error code of the report.errorCode
(ReportingErrorCode errorCode) The error code of the report.errorMessage
(String errorMessage) The error message of the report.filterCriteria
(Consumer<FilterCriteria.Builder> filterCriteria) The filter criteria associated with the report.filterCriteria
(FilterCriteria filterCriteria) The filter criteria associated with the report.The ID of the report.The status of the report.status
(ExternalReportStatus status) The status of the report.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-
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
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.Builder
avoiding the need to create one manually viaFilterCriteria.builder()
.When the
Consumer
completes,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:
-
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
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:
-
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:
-