@Generated(value="software.amazon.awssdk:codegen") public final class LogDeliveryConfigurationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>
Specifies the destination, format and type of the logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogDeliveryConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogDeliveryConfigurationRequest.Builder |
builder() |
DestinationDetails |
destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
|
DestinationType |
destinationType()
Specify either
cloudwatch-logs or kinesis-firehose as the destination type. |
String |
destinationTypeAsString()
Specify either
cloudwatch-logs or kinesis-firehose as the destination type. |
Boolean |
enabled()
Specify if log delivery is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LogFormat |
logFormat()
Specifies either JSON or TEXT
|
String |
logFormatAsString()
Specifies either JSON or TEXT
|
LogType |
logType()
Refers to slow-log or engine-log..
|
String |
logTypeAsString()
Refers to slow-log or engine-log..
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogDeliveryConfigurationRequest.Builder> |
serializableBuilderClass() |
LogDeliveryConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LogType logType()
Refers to slow-log or engine-log..
If the service returns an enum value that is not available in the current SDK version, logType will
return LogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logTypeAsString().
public final String logTypeAsString()
Refers to slow-log or engine-log..
If the service returns an enum value that is not available in the current SDK version, logType will
return LogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logTypeAsString().
public final DestinationType destinationType()
Specify either cloudwatch-logs or kinesis-firehose as the destination type.
If the service returns an enum value that is not available in the current SDK version, destinationType
will return DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from destinationTypeAsString().
cloudwatch-logs or kinesis-firehose as the destination type.DestinationTypepublic final String destinationTypeAsString()
Specify either cloudwatch-logs or kinesis-firehose as the destination type.
If the service returns an enum value that is not available in the current SDK version, destinationType
will return DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from destinationTypeAsString().
cloudwatch-logs or kinesis-firehose as the destination type.DestinationTypepublic final DestinationDetails destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
public final LogFormat logFormat()
Specifies either JSON or TEXT
If the service returns an enum value that is not available in the current SDK version, logFormat will
return LogFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logFormatAsString().
LogFormatpublic final String logFormatAsString()
Specifies either JSON or TEXT
If the service returns an enum value that is not available in the current SDK version, logFormat will
return LogFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logFormatAsString().
LogFormatpublic final Boolean enabled()
Specify if log delivery is enabled. Default true.
true.public LogDeliveryConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>public static LogDeliveryConfigurationRequest.Builder builder()
public static Class<? extends LogDeliveryConfigurationRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.