@Generated(value="com.ibm.cos.v2:codegen") public final class AnalyticsS3BucketDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsS3BucketDestination.Builder,AnalyticsS3BucketDestination>
Contains information about where to publish the analytics results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyticsS3BucketDestination.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The Amazon Resource Name (ARN) of the bucket to which data is exported.
|
String |
bucketAccountId()
The account ID that owns the destination S3 bucket.
|
static AnalyticsS3BucketDestination.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
AnalyticsS3ExportFileFormat |
format()
Specifies the file format used when exporting data to Amazon S3.
|
String |
formatAsString()
Specifies the file format used when exporting data to Amazon S3.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The prefix to use when exporting data.
|
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyticsS3BucketDestination.Builder> |
serializableBuilderClass() |
AnalyticsS3BucketDestination.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 AnalyticsS3ExportFileFormat format()
Specifies the file format used when exporting data to Amazon S3.
If the service returns an enum value that is not available in the current SDK version, format will
return AnalyticsS3ExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from formatAsString().
AnalyticsS3ExportFileFormatpublic final String formatAsString()
Specifies the file format used when exporting data to Amazon S3.
If the service returns an enum value that is not available in the current SDK version, format will
return AnalyticsS3ExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from formatAsString().
AnalyticsS3ExportFileFormatpublic final String bucketAccountId()
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 to which data is exported.
public final String prefix()
The prefix to use when exporting data. The prefix is prepended to all results.
public AnalyticsS3BucketDestination.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AnalyticsS3BucketDestination.Builder,AnalyticsS3BucketDestination>public static AnalyticsS3BucketDestination.Builder builder()
public static Class<? extends AnalyticsS3BucketDestination.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.