Interface ExportDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExportDestination.Builder,,ExportDestination> SdkBuilder<ExportDestination.Builder,,ExportDestination> SdkPojo
- Enclosing class:
ExportDestination
@Mutable
@NotThreadSafe
public static interface ExportDestination.Builder
extends SdkPojo, CopyableBuilder<ExportDestination.Builder,ExportDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportDestination.BuilderThe Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Security Hub uses to write the export.The Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Security Hub uses to write the export.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
-
s3
The Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Security Hub uses to write the export.
- Parameters:
s3- The Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Security Hub uses to write the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon Simple Storage Service (Amazon S3) bucket and Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Security Hub uses to write the export.
This is a convenience method that creates an instance of theS3ExportDestination.Builderavoiding the need to create one manually viaS3ExportDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3ExportDestination).- Parameters:
s3- a consumer that will call methods onS3ExportDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-