@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationProperties extends Object implements Serializable, Cloneable, StructuredPojo
Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.
Constructor and Description |
---|
DestinationProperties() |
Modifier and Type | Method and Description |
---|---|
DestinationProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationArn()
The ARN of the resource to publish to.
|
String |
getKmsKeyArn()
The ARN of the KMS key to use for encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationArn(String destinationArn)
The ARN of the resource to publish to.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use for encryption.
|
String |
toString()
Returns a string representation of this object.
|
DestinationProperties |
withDestinationArn(String destinationArn)
The ARN of the resource to publish to.
|
DestinationProperties |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use for encryption.
|
public void setDestinationArn(String destinationArn)
The ARN of the resource to publish to.
To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
destinationArn
- The ARN of the resource to publish to.
To specify an S3 bucket folder use the following format:
arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
public String getDestinationArn()
The ARN of the resource to publish to.
To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
To specify an S3 bucket folder use the following format:
arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
public DestinationProperties withDestinationArn(String destinationArn)
The ARN of the resource to publish to.
To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
destinationArn
- The ARN of the resource to publish to.
To specify an S3 bucket folder use the following format:
arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/
public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use for encryption.
kmsKeyArn
- The ARN of the KMS key to use for encryption.public String getKmsKeyArn()
The ARN of the KMS key to use for encryption.
public DestinationProperties withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use for encryption.
kmsKeyArn
- The ARN of the KMS key to use for encryption.public String toString()
toString
in class Object
Object.toString()
public DestinationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.