Interface InventoryDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryDestination.Builder,,InventoryDestination> SdkBuilder<InventoryDestination.Builder,,InventoryDestination> SdkPojo
- Enclosing class:
InventoryDestination
public static interface InventoryDestination.Builder
extends SdkPojo, CopyableBuilder<InventoryDestination.Builder,InventoryDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InventoryDestination.Builders3BucketDestination(Consumer<InventoryS3BucketDestination.Builder> s3BucketDestination) Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.s3BucketDestination(InventoryS3BucketDestination s3BucketDestination) Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.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, sdkFields
-
Method Details
-
s3BucketDestination
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
- Parameters:
s3BucketDestination- Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketDestination
default InventoryDestination.Builder s3BucketDestination(Consumer<InventoryS3BucketDestination.Builder> s3BucketDestination) Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
This is a convenience method that creates an instance of theInventoryS3BucketDestination.Builderavoiding the need to create one manually viaInventoryS3BucketDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3BucketDestination(InventoryS3BucketDestination).- Parameters:
s3BucketDestination- a consumer that will call methods onInventoryS3BucketDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-