@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Contains details of the Amazon S3 bucket and KMS key used to export findings.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the Amazon S3 bucket to export findings to.
|
String |
getKeyPrefix()
The prefix that the findings will be written under.
|
String |
getKmsKeyArn()
The ARN of the KMS key used to encrypt data when exporting findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket to export findings to.
|
void |
setKeyPrefix(String keyPrefix)
The prefix that the findings will be written under.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data when exporting findings.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withBucketName(String bucketName)
The name of the Amazon S3 bucket to export findings to.
|
Destination |
withKeyPrefix(String keyPrefix)
The prefix that the findings will be written under.
|
Destination |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data when exporting findings.
|
public void setBucketName(String bucketName)
The name of the Amazon S3 bucket to export findings to.
bucketName
- The name of the Amazon S3 bucket to export findings to.public String getBucketName()
The name of the Amazon S3 bucket to export findings to.
public Destination withBucketName(String bucketName)
The name of the Amazon S3 bucket to export findings to.
bucketName
- The name of the Amazon S3 bucket to export findings to.public void setKeyPrefix(String keyPrefix)
The prefix that the findings will be written under.
keyPrefix
- The prefix that the findings will be written under.public String getKeyPrefix()
The prefix that the findings will be written under.
public Destination withKeyPrefix(String keyPrefix)
The prefix that the findings will be written under.
keyPrefix
- The prefix that the findings will be written under.public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data when exporting findings.
kmsKeyArn
- The ARN of the KMS key used to encrypt data when exporting findings.public String getKmsKeyArn()
The ARN of the KMS key used to encrypt data when exporting findings.
public Destination withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data when exporting findings.
kmsKeyArn
- The ARN of the KMS key used to encrypt data when exporting findings.public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.