@Generated(value="com.ibm.cos.v2:codegen") public final class InventoryS3BucketDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InventoryS3BucketDestination.Builder,InventoryS3BucketDestination>
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InventoryS3BucketDestination.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account ID that owns the destination S3 bucket.
|
String |
bucket()
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
|
static InventoryS3BucketDestination.Builder |
builder() |
InventoryEncryption |
encryption()
Contains the type of server-side encryption used to encrypt the inventory results.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
InventoryFormat |
format()
Specifies the output format of the inventory results.
|
String |
formatAsString()
Specifies the output format of the inventory results.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The prefix that is prepended to all inventory results.
|
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InventoryS3BucketDestination.Builder> |
serializableBuilderClass() |
InventoryS3BucketDestination.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
public final String bucket()
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
public final InventoryFormat format()
Specifies the output format of the inventory results.
If the service returns an enum value that is not available in the current SDK version, format will
return InventoryFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
InventoryFormatpublic final String formatAsString()
Specifies the output format of the inventory results.
If the service returns an enum value that is not available in the current SDK version, format will
return InventoryFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
InventoryFormatpublic final String prefix()
The prefix that is prepended to all inventory results.
public final InventoryEncryption encryption()
Contains the type of server-side encryption used to encrypt the inventory results.
public InventoryS3BucketDestination.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InventoryS3BucketDestination.Builder,InventoryS3BucketDestination>public static InventoryS3BucketDestination.Builder builder()
public static Class<? extends InventoryS3BucketDestination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withpublic final String toString()
public final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojoCopyright © 2026. All rights reserved.