@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that describes a location where chat logs will be stored. Each member represents the configuration of one log destination. For logging, you define only one type of destination (for CloudWatch Logs, Kinesis Firehose, or S3).
Constructor and Description |
---|
DestinationConfiguration() |
Modifier and Type | Method and Description |
---|---|
DestinationConfiguration |
clone() |
boolean |
equals(Object obj) |
CloudWatchLogsDestinationConfiguration |
getCloudWatchLogs()
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
|
FirehoseDestinationConfiguration |
getFirehose()
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
|
S3DestinationConfiguration |
getS3()
An Amazon S3 destination configuration where chat activity will be logged.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
|
void |
setFirehose(FirehoseDestinationConfiguration firehose)
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
|
void |
setS3(S3DestinationConfiguration s3)
An Amazon S3 destination configuration where chat activity will be logged.
|
String |
toString()
Returns a string representation of this object.
|
DestinationConfiguration |
withCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
|
DestinationConfiguration |
withFirehose(FirehoseDestinationConfiguration firehose)
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
|
DestinationConfiguration |
withS3(S3DestinationConfiguration s3)
An Amazon S3 destination configuration where chat activity will be logged.
|
public void setS3(S3DestinationConfiguration s3)
An Amazon S3 destination configuration where chat activity will be logged.
s3
- An Amazon S3 destination configuration where chat activity will be logged.public S3DestinationConfiguration getS3()
An Amazon S3 destination configuration where chat activity will be logged.
public DestinationConfiguration withS3(S3DestinationConfiguration s3)
An Amazon S3 destination configuration where chat activity will be logged.
s3
- An Amazon S3 destination configuration where chat activity will be logged.public void setCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
cloudWatchLogs
- An Amazon CloudWatch Logs destination configuration where chat activity will be logged.public CloudWatchLogsDestinationConfiguration getCloudWatchLogs()
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
public DestinationConfiguration withCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
cloudWatchLogs
- An Amazon CloudWatch Logs destination configuration where chat activity will be logged.public void setFirehose(FirehoseDestinationConfiguration firehose)
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
firehose
- An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.public FirehoseDestinationConfiguration getFirehose()
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
public DestinationConfiguration withFirehose(FirehoseDestinationConfiguration firehose)
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
firehose
- An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.public String toString()
toString
in class Object
Object.toString()
public DestinationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.