Interface InventoryS3BucketDestination.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryS3BucketDestination.Builder,InventoryS3BucketDestination>
,SdkBuilder<InventoryS3BucketDestination.Builder,InventoryS3BucketDestination>
,SdkPojo
- Enclosing class:
- InventoryS3BucketDestination
public static interface InventoryS3BucketDestination.Builder extends SdkPojo, CopyableBuilder<InventoryS3BucketDestination.Builder,InventoryS3BucketDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InventoryS3BucketDestination.Builder
accountId(String accountId)
The account ID that owns the destination S3 bucket.InventoryS3BucketDestination.Builder
bucket(String bucket)
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.default InventoryS3BucketDestination.Builder
encryption(Consumer<InventoryEncryption.Builder> encryption)
Contains the type of server-side encryption used to encrypt the inventory results.InventoryS3BucketDestination.Builder
encryption(InventoryEncryption encryption)
Contains the type of server-side encryption used to encrypt the inventory results.InventoryS3BucketDestination.Builder
format(String format)
Specifies the output format of the inventory results.InventoryS3BucketDestination.Builder
format(InventoryFormat format)
Specifies the output format of the inventory results.InventoryS3BucketDestination.Builder
prefix(String prefix)
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, sdkFields
-
-
-
-
Method Detail
-
accountId
InventoryS3BucketDestination.Builder accountId(String 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
InventoryS3BucketDestination.Builder bucket(String 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
InventoryS3BucketDestination.Builder format(String 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:
InventoryFormat
,InventoryFormat
-
format
InventoryS3BucketDestination.Builder format(InventoryFormat 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:
InventoryFormat
,InventoryFormat
-
prefix
InventoryS3BucketDestination.Builder prefix(String 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
InventoryS3BucketDestination.Builder encryption(InventoryEncryption 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:
encryption(InventoryEncryption)
-
-