Interface CreateFindingsReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFindingsReportRequest.Builder,
,CreateFindingsReportRequest> Inspector2Request.Builder
,SdkBuilder<CreateFindingsReportRequest.Builder,
,CreateFindingsReportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFindingsReportRequest
@Mutable
@NotThreadSafe
public static interface CreateFindingsReportRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<CreateFindingsReportRequest.Builder,CreateFindingsReportRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilterCriteria
(Consumer<FilterCriteria.Builder> filterCriteria) The filter criteria to apply to the results of the finding report.filterCriteria
(FilterCriteria filterCriteria) The filter criteria to apply to the results of the finding report.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reportFormat
(String reportFormat) The format to generate the report in.reportFormat
(ReportFormat reportFormat) The format to generate the report in.s3Destination
(Consumer<Destination.Builder> s3Destination) The Amazon S3 export destination for the report.s3Destination
(Destination s3Destination) The Amazon S3 export destination for the report.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filterCriteria
The filter criteria to apply to the results of the finding report.
- Parameters:
filterCriteria
- The filter criteria to apply to the results of the finding report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default CreateFindingsReportRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria) The filter criteria to apply to the results of the finding 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:
-
reportFormat
The format to generate the report in.
- Parameters:
reportFormat
- The format to generate the report in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportFormat
The format to generate the report in.
- Parameters:
reportFormat
- The format to generate the report in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Destination
The Amazon S3 export destination for the report.
- Parameters:
s3Destination
- The Amazon S3 export destination for the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
default CreateFindingsReportRequest.Builder s3Destination(Consumer<Destination.Builder> s3Destination) The Amazon S3 export destination for 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 tos3Destination(Destination)
.- Parameters:
s3Destination
- 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:
-
overrideConfiguration
CreateFindingsReportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFindingsReportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-