@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncS3Destination extends Object implements Serializable, Cloneable, StructuredPojo
Information about the target Amazon 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 Amazon S3 bucket where the aggregated data is stored.
|
String |
getPrefix()
An Amazon S3 prefix for the bucket.
|
String |
getRegion()
The AWS Region with the Amazon 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 Amazon S3 bucket where the aggregated data is stored.
|
void |
setPrefix(String prefix)
An Amazon S3 prefix for the bucket.
|
void |
setRegion(String region)
The AWS Region with the Amazon 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; useful for testing and debugging.
|
ResourceDataSyncS3Destination |
withAWSKMSKeyARN(String aWSKMSKeyARN)
The ARN of an encryption key for a destination in Amazon S3.
|
ResourceDataSyncS3Destination |
withBucketName(String bucketName)
The name of the Amazon S3 bucket where the aggregated data is stored.
|
ResourceDataSyncS3Destination |
withPrefix(String prefix)
An Amazon S3 prefix for the bucket.
|
ResourceDataSyncS3Destination |
withRegion(String region)
The AWS Region with the Amazon 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 Amazon S3 bucket where the aggregated data is stored.
bucketName
- The name of the Amazon S3 bucket where the aggregated data is stored.public String getBucketName()
The name of the Amazon S3 bucket where the aggregated data is stored.
public ResourceDataSyncS3Destination withBucketName(String bucketName)
The name of the Amazon S3 bucket where the aggregated data is stored.
bucketName
- The name of the Amazon 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 AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync.
region
- The AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync.public String getRegion()
The AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync.
public ResourceDataSyncS3Destination withRegion(String region)
The AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync.
region
- The AWS Region with the Amazon 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 Amazon S3 bucket.
aWSKMSKeyARN
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same region as the
destination Amazon 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 Amazon 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 Amazon S3 bucket.
aWSKMSKeyARN
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same region as the
destination Amazon S3 bucket.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.