Interface InventoryDestination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryDestination.Builder,InventoryDestination>,SdkBuilder<InventoryDestination.Builder,InventoryDestination>,SdkPojo
- Enclosing class:
- InventoryDestination
@Mutable @NotThreadSafe public static interface InventoryDestination.Builder extends SdkPojo, CopyableBuilder<InventoryDestination.Builder,InventoryDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InventoryDestination.Builders3BucketDestination(Consumer<InventoryS3BucketDestination.Builder> s3BucketDestination)Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.InventoryDestination.Builders3BucketDestination(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
copy
-
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 Detail
-
s3BucketDestination
InventoryDestination.Builder s3BucketDestination(InventoryS3BucketDestination 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:
s3BucketDestination(InventoryS3BucketDestination)
-
-