Interface ExportOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExportOutput.Builder,,ExportOutput> SdkBuilder<ExportOutput.Builder,,ExportOutput> SdkPojo
- Enclosing class:
ExportOutput
@Mutable
@NotThreadSafe
public static interface ExportOutput.Builder
extends SdkPojo, CopyableBuilder<ExportOutput.Builder,ExportOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportOutput.Builderfindings(Consumer<FindingsOutput.Builder> findings) Configures an export of Security Hub findings, including the output format and any filters or selected fields.findings(FindingsOutput findings) Configures an export of Security Hub findings, including the output format and any filters or selected fields.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
-
findings
Configures an export of Security Hub findings, including the output format and any filters or selected fields.
- Parameters:
findings- Configures an export of Security Hub findings, including the output format and any filters or selected fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
Configures an export of Security Hub findings, including the output format and any filters or selected fields.
This is a convenience method that creates an instance of theFindingsOutput.Builderavoiding the need to create one manually viaFindingsOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(FindingsOutput).- Parameters:
findings- a consumer that will call methods onFindingsOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-