@Stability(value=Experimental) public static final class InventoryDestination.Builder extends Object implements software.amazon.jsii.Builder<InventoryDestination>
InventoryDestination| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InventoryDestination.Builder |
bucket(IBucket bucket)
Sets the value of
InventoryDestination.getBucket() |
InventoryDestination.Builder |
bucketOwner(String bucketOwner)
Sets the value of
InventoryDestination.getBucketOwner() |
InventoryDestination |
build()
Builds the configured instance.
|
InventoryDestination.Builder |
prefix(String prefix)
Sets the value of
InventoryDestination.getPrefix() |
@Stability(value=Experimental) public InventoryDestination.Builder bucket(IBucket bucket)
InventoryDestination.getBucket()bucket - Bucket where all inventories will be saved in. This parameter is required.this@Stability(value=Experimental) public InventoryDestination.Builder bucketOwner(String bucketOwner)
InventoryDestination.getBucketOwner()bucketOwner - The account ID that owns the destination S3 bucket.
If no account ID is provided, the owner is not validated before exporting data.
It's recommended to set an account ID to prevent problems if the destination bucket ownership changes.this@Stability(value=Experimental) public InventoryDestination.Builder prefix(String prefix)
InventoryDestination.getPrefix()prefix - The prefix to be used when saving the inventory.this@Stability(value=Experimental) public InventoryDestination build()
build in interface software.amazon.jsii.Builder<InventoryDestination>InventoryDestinationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.