@Generated(value="software.amazon.awssdk:codegen") public final class DestinationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DestinationConfiguration.Builder,DestinationConfiguration>
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).
| Modifier and Type | Class and Description |
|---|---|
static interface |
DestinationConfiguration.Builder |
static class |
DestinationConfiguration.Type |
| Modifier and Type | Method and Description |
|---|---|
static DestinationConfiguration.Builder |
builder() |
CloudWatchLogsDestinationConfiguration |
cloudWatchLogs()
Name of the Amazon CloudWatch Logs destination where chat activity will be logged.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirehoseDestinationConfiguration |
firehose()
Name of the Amazon Kinesis Data Firehose destination where chat activity will be logged
|
static DestinationConfiguration |
fromCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
Create an instance of this class with
cloudWatchLogs() initialized to the given value. |
static DestinationConfiguration |
fromCloudWatchLogs(Consumer<CloudWatchLogsDestinationConfiguration.Builder> cloudWatchLogs)
Create an instance of this class with
cloudWatchLogs() initialized to the given value. |
static DestinationConfiguration |
fromFirehose(Consumer<FirehoseDestinationConfiguration.Builder> firehose)
Create an instance of this class with
firehose() initialized to the given value. |
static DestinationConfiguration |
fromFirehose(FirehoseDestinationConfiguration firehose)
Create an instance of this class with
firehose() initialized to the given value. |
static DestinationConfiguration |
fromS3(Consumer<S3DestinationConfiguration.Builder> s3)
Create an instance of this class with
s3() initialized to the given value. |
static DestinationConfiguration |
fromS3(S3DestinationConfiguration s3)
Create an instance of this class with
s3() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3DestinationConfiguration |
s3()
Name of the Amazon S3 bucket where chat activity will be logged.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DestinationConfiguration.Builder> |
serializableBuilderClass() |
DestinationConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DestinationConfiguration.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CloudWatchLogsDestinationConfiguration cloudWatchLogs()
Name of the Amazon CloudWatch Logs destination where chat activity will be logged.
public final FirehoseDestinationConfiguration firehose()
Name of the Amazon Kinesis Data Firehose destination where chat activity will be logged
public final S3DestinationConfiguration s3()
Name of the Amazon S3 bucket where chat activity will be logged.
public DestinationConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DestinationConfiguration.Builder,DestinationConfiguration>public static DestinationConfiguration.Builder builder()
public static Class<? extends DestinationConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static DestinationConfiguration fromCloudWatchLogs(CloudWatchLogsDestinationConfiguration cloudWatchLogs)
cloudWatchLogs() initialized to the given value.
Name of the Amazon CloudWatch Logs destination where chat activity will be logged.
cloudWatchLogs - Name of the Amazon CloudWatch Logs destination where chat activity will be logged.public static DestinationConfiguration fromCloudWatchLogs(Consumer<CloudWatchLogsDestinationConfiguration.Builder> cloudWatchLogs)
cloudWatchLogs() initialized to the given value.
Name of the Amazon CloudWatch Logs destination where chat activity will be logged.
cloudWatchLogs - Name of the Amazon CloudWatch Logs destination where chat activity will be logged.public static DestinationConfiguration fromFirehose(FirehoseDestinationConfiguration firehose)
firehose() initialized to the given value.
Name of the Amazon Kinesis Data Firehose destination where chat activity will be logged
firehose - Name of the Amazon Kinesis Data Firehose destination where chat activity will be loggedpublic static DestinationConfiguration fromFirehose(Consumer<FirehoseDestinationConfiguration.Builder> firehose)
firehose() initialized to the given value.
Name of the Amazon Kinesis Data Firehose destination where chat activity will be logged
firehose - Name of the Amazon Kinesis Data Firehose destination where chat activity will be loggedpublic static DestinationConfiguration fromS3(S3DestinationConfiguration s3)
s3() initialized to the given value.
Name of the Amazon S3 bucket where chat activity will be logged.
s3 - Name of the Amazon S3 bucket where chat activity will be logged.public static DestinationConfiguration fromS3(Consumer<S3DestinationConfiguration.Builder> s3)
s3() initialized to the given value.
Name of the Amazon S3 bucket where chat activity will be logged.
s3 - Name of the Amazon S3 bucket where chat activity will be logged.public DestinationConfiguration.Type type()
DestinationConfiguration.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be DestinationConfiguration.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.