Interface CreateFindingsReportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFindingsReportRequest.Builder,,CreateFindingsReportRequest> Inspector2Request.Builder,SdkBuilder<CreateFindingsReportRequest.Builder,,CreateFindingsReportRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFindingsReportRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
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.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-