@Generated(value="software.amazon.awssdk:codegen") public final class ResourceDataSyncS3Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>
Information about the target S3 bucket for the Resource Data Sync.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceDataSyncS3Destination.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awskmsKeyARN()
The ARN of an encryption key for a destination in Amazon S3.
|
String |
bucketName()
The name of the S3 bucket where the aggregated data is stored.
|
static ResourceDataSyncS3Destination.Builder |
builder() |
ResourceDataSyncDestinationDataSharing |
destinationDataSharing()
Enables destination data sharing.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
An Amazon S3 prefix for the bucket.
|
String |
region()
The AWS Region with the S3 bucket targeted by the Resource Data Sync.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceDataSyncS3Destination.Builder> |
serializableBuilderClass() |
ResourceDataSyncS3Format |
syncFormat()
A supported sync format.
|
String |
syncFormatAsString()
A supported sync format.
|
ResourceDataSyncS3Destination.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.
|
copy
public final String bucketName()
The name of the S3 bucket where the aggregated data is stored.
public final String prefix()
An Amazon S3 prefix for the bucket.
public final ResourceDataSyncS3Format syncFormat()
A supported sync format. The following format is currently supported: JsonSerDe
If the service returns an enum value that is not available in the current SDK version, syncFormat
will
return ResourceDataSyncS3Format.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from syncFormatAsString()
.
ResourceDataSyncS3Format
public final String syncFormatAsString()
A supported sync format. The following format is currently supported: JsonSerDe
If the service returns an enum value that is not available in the current SDK version, syncFormat
will
return ResourceDataSyncS3Format.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from syncFormatAsString()
.
ResourceDataSyncS3Format
public final String region()
The AWS Region with the S3 bucket targeted by the Resource Data Sync.
public final String awskmsKeyARN()
The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
public final ResourceDataSyncDestinationDataSharing destinationDataSharing()
Enables destination data sharing. By default, this field is null
.
null
.public ResourceDataSyncS3Destination.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>
public static ResourceDataSyncS3Destination.Builder builder()
public static Class<? extends ResourceDataSyncS3Destination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
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 SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.