Interface InventoryS3BucketDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryS3BucketDestination.Builder,
,InventoryS3BucketDestination> SdkBuilder<InventoryS3BucketDestination.Builder,
,InventoryS3BucketDestination> SdkPojo
- Enclosing class:
InventoryS3BucketDestination
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID that owns the destination S3 bucket.The Amazon Resource Name (ARN) of the bucket where inventory results will be published.encryption
(Consumer<InventoryEncryption.Builder> encryption) Contains the type of server-side encryption used to encrypt the inventory results.encryption
(InventoryEncryption encryption) Contains the type of server-side encryption used to encrypt the inventory results.Specifies the output format of the inventory results.format
(InventoryFormat format) Specifies the output format of the inventory results.The prefix that is prepended to all inventory results.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 Details
-
accountId
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
- Parameters:
accountId
- The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
- Parameters:
bucket
- The Amazon Resource Name (ARN) of the bucket where inventory results will be published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
Specifies the output format of the inventory results.
- Parameters:
format
- Specifies the output format of the inventory results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
Specifies the output format of the inventory results.
- Parameters:
format
- Specifies the output format of the inventory results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prefix
The prefix that is prepended to all inventory results.
- Parameters:
prefix
- The prefix that is prepended to all inventory results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
Contains the type of server-side encryption used to encrypt the inventory results.
- Parameters:
encryption
- Contains the type of server-side encryption used to encrypt the inventory results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default InventoryS3BucketDestination.Builder encryption(Consumer<InventoryEncryption.Builder> encryption) Contains the type of server-side encryption used to encrypt the inventory results.
This is a convenience method that creates an instance of theInventoryEncryption.Builder
avoiding the need to create one manually viaInventoryEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(InventoryEncryption)
.- Parameters:
encryption
- a consumer that will call methods onInventoryEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-