@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Destination extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an S3 bucket to store data classification results in, 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 name 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 KMS key to use for encryption of the results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The name 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 KMS key to use for encryption of the results.
|
String |
toString()
Returns a string representation of this object.
|
S3Destination |
withBucketName(String bucketName)
The name 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 KMS key to use for encryption of the results.
|
public void setBucketName(String bucketName)
The name of the bucket.
bucketName
- The name of the bucket.public String getBucketName()
The name of the bucket.
public S3Destination withBucketName(String bucketName)
The name of the bucket.
bucketName
- The name of the 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 KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN
of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the
bucket.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.
public S3Destination withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN
of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the
bucket.public String toString()
toString
in class Object
Object.toString()
public S3Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.