Class AnalyticsS3BucketDestination
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.AnalyticsS3BucketDestination
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AnalyticsS3BucketDestination.Builder,AnalyticsS3BucketDestination>
@Generated("software.amazon.awssdk:codegen") public final class AnalyticsS3BucketDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsS3BucketDestination.Builder,AnalyticsS3BucketDestination>
Contains information about where to publish the analytics results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AnalyticsS3BucketDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
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()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
format
public 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 returnAnalyticsS3ExportFileFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromformatAsString()
.- Returns:
- Specifies the file format used when exporting data to Amazon S3.
- See Also:
AnalyticsS3ExportFileFormat
-
formatAsString
public 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 returnAnalyticsS3ExportFileFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromformatAsString()
.- Returns:
- Specifies the file format used when exporting data to Amazon S3.
- See Also:
AnalyticsS3ExportFileFormat
-
bucketAccountId
public 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.
- Returns:
- 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.
-
bucket
public final String bucket()
The Amazon Resource Name (ARN) of the bucket to which data is exported.
- Returns:
- The Amazon Resource Name (ARN) of the bucket to which data is exported.
-
prefix
public final String prefix()
The prefix to use when exporting data. The prefix is prepended to all results.
- Returns:
- The prefix to use when exporting data. The prefix is prepended to all results.
-
toBuilder
public AnalyticsS3BucketDestination.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AnalyticsS3BucketDestination.Builder,AnalyticsS3BucketDestination>
-
builder
public static AnalyticsS3BucketDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnalyticsS3BucketDestination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-