@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationProperties extends Object implements Serializable, Cloneable, StructuredPojo
Contains the 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.
destinationArn
- The ARN of the resource to publish to.public String getDestinationArn()
The ARN of the resource to publish to.
public DestinationProperties withDestinationArn(String destinationArn)
The ARN of the resource to publish to.
destinationArn
- The ARN of the resource to publish to.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.