@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncS3Destination extends Object implements Serializable, Cloneable, StructuredPojo
Information about the target S3 bucket for the resource data sync.
Constructor and Description |
---|
ResourceDataSyncS3Destination() |
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncS3Destination |
clone() |
boolean |
equals(Object obj) |
String |
getAWSKMSKeyARN()
The ARN of an encryption key for a destination in Amazon S3.
|
String |
getBucketName()
The name of the S3 bucket where the aggregated data is stored.
|
ResourceDataSyncDestinationDataSharing |
getDestinationDataSharing()
Enables destination data sharing.
|
String |
getPrefix()
An Amazon S3 prefix for the bucket.
|
String |
getRegion()
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
|
String |
getSyncFormat()
A supported sync format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of an encryption key for a destination in Amazon S3.
|
void |
setBucketName(String bucketName)
The name of the S3 bucket where the aggregated data is stored.
|
void |
setDestinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing)
Enables destination data sharing.
|
void |
setPrefix(String prefix)
An Amazon S3 prefix for the bucket.
|
void |
setRegion(String region)
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
|
void |
setSyncFormat(ResourceDataSyncS3Format syncFormat)
A supported sync format.
|
void |
setSyncFormat(String syncFormat)
A supported sync format.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDataSyncS3Destination |
withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of an encryption key for a destination in Amazon S3.
|
ResourceDataSyncS3Destination |
withBucketName(String bucketName)
The name of the S3 bucket where the aggregated data is stored.
|
ResourceDataSyncS3Destination |
withDestinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing)
Enables destination data sharing.
|
ResourceDataSyncS3Destination |
withPrefix(String prefix)
An Amazon S3 prefix for the bucket.
|
ResourceDataSyncS3Destination |
withRegion(String region)
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
|
ResourceDataSyncS3Destination |
withSyncFormat(ResourceDataSyncS3Format syncFormat)
A supported sync format.
|
ResourceDataSyncS3Destination |
withSyncFormat(String syncFormat)
A supported sync format.
|
public void setBucketName(String bucketName)
The name of the S3 bucket where the aggregated data is stored.
bucketName
- The name of the S3 bucket where the aggregated data is stored.public String getBucketName()
The name of the S3 bucket where the aggregated data is stored.
public ResourceDataSyncS3Destination withBucketName(String bucketName)
The name of the S3 bucket where the aggregated data is stored.
bucketName
- The name of the S3 bucket where the aggregated data is stored.public void setPrefix(String prefix)
An Amazon S3 prefix for the bucket.
prefix
- An Amazon S3 prefix for the bucket.public String getPrefix()
An Amazon S3 prefix for the bucket.
public ResourceDataSyncS3Destination withPrefix(String prefix)
An Amazon S3 prefix for the bucket.
prefix
- An Amazon S3 prefix for the bucket.public void setSyncFormat(String syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
public String getSyncFormat()
A supported sync format. The following format is currently supported: JsonSerDe
ResourceDataSyncS3Format
public ResourceDataSyncS3Destination withSyncFormat(String syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
public void setSyncFormat(ResourceDataSyncS3Format syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
public ResourceDataSyncS3Destination withSyncFormat(ResourceDataSyncS3Format syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
public void setRegion(String region)
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
region
- The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.public String getRegion()
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
public ResourceDataSyncS3Destination withRegion(String region)
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
region
- The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.public void setAWSKMSKeyARN(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.
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 String getAWSKMSKeyARN()
The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
public ResourceDataSyncS3Destination withAWSKMSKeyARN(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.
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 void setDestinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing)
Enables destination data sharing. By default, this field is null
.
destinationDataSharing
- Enables destination data sharing. By default, this field is null
.public ResourceDataSyncDestinationDataSharing getDestinationDataSharing()
Enables destination data sharing. By default, this field is null
.
null
.public ResourceDataSyncS3Destination withDestinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing)
Enables destination data sharing. By default, this field is null
.
destinationDataSharing
- Enables destination data sharing. By default, this field is null
.public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncS3Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.