@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Destination extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an S3 bucket to export data classification results to, and the encryption settings to use when storing results in that bucket.
| Constructor and Description |
|---|
S3Destination() |
| Modifier and Type | Method and Description |
|---|---|
S3Destination |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The Amazon Resource Name (ARN) of the bucket.
|
String |
getKeyPrefix()
The path prefix to use in the path to the location in the bucket.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported
results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBucketName(String bucketName)
The Amazon Resource Name (ARN) of the bucket.
|
void |
setKeyPrefix(String keyPrefix)
The path prefix to use in the path to the location in the bucket.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported
results.
|
String |
toString()
Returns a string representation of this object.
|
S3Destination |
withBucketName(String bucketName)
The Amazon Resource Name (ARN) of the bucket.
|
S3Destination |
withKeyPrefix(String keyPrefix)
The path prefix to use in the path to the location in the bucket.
|
S3Destination |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported
results.
|
public void setBucketName(String bucketName)
The Amazon Resource Name (ARN) of the bucket. This must be the ARN of an existing bucket.
bucketName - The Amazon Resource Name (ARN) of the bucket. This must be the ARN of an existing bucket.public String getBucketName()
The Amazon Resource Name (ARN) of the bucket. This must be the ARN of an existing bucket.
public S3Destination withBucketName(String bucketName)
The Amazon Resource Name (ARN) of the bucket. This must be the ARN of an existing bucket.
bucketName - The Amazon Resource Name (ARN) of the bucket. This must be the ARN of an existing bucket.public void setKeyPrefix(String keyPrefix)
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
keyPrefix - The path prefix to use in the path to the location in the bucket. This prefix specifies where to store
classification results in the bucket.public String getKeyPrefix()
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
public S3Destination withKeyPrefix(String keyPrefix)
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
keyPrefix - The path prefix to use in the path to the location in the bucket. This prefix specifies where to store
classification results in the bucket.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported results. This must be the ARN of an existing KMS key. In addition, the key must be in the same AWS Region as the bucket.
kmsKeyArn - The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the
exported results. This must be the ARN of an existing KMS key. In addition, the key must be in the same
AWS Region as the bucket.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported results. This must be the ARN of an existing KMS key. In addition, the key must be in the same AWS Region as the bucket.
public S3Destination withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the exported results. This must be the ARN of an existing KMS key. In addition, the key must be in the same AWS Region as the bucket.
kmsKeyArn - The Amazon Resource Name (ARN) of the AWS Key Management Service master key to use for encryption of the
exported results. This must be the ARN of an existing KMS key. In addition, the key must be in the same
AWS Region as the bucket.public String toString()
toString in class ObjectObject.toString()public S3Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.