@Generated(value="software.amazon.awssdk:codegen") public final class LogDeliveryConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogDeliveryConfiguration.Builder,LogDeliveryConfiguration>
Returns the destination, format and type of the logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogDeliveryConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogDeliveryConfiguration.Builder |
builder() |
DestinationDetails |
destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
|
DestinationType |
destinationType()
Returns the destination type, either
cloudwatch-logs or kinesis-firehose. |
String |
destinationTypeAsString()
Returns the destination type, either
cloudwatch-logs or kinesis-firehose. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LogFormat |
logFormat()
Returns the log format, either JSON or TEXT.
|
String |
logFormatAsString()
Returns the log format, either JSON or TEXT.
|
LogType |
logType()
Refers to slow-log or engine-log.
|
String |
logTypeAsString()
Refers to slow-log or engine-log.
|
String |
message()
Returns an error message for the log delivery configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogDeliveryConfiguration.Builder> |
serializableBuilderClass() |
LogDeliveryConfigurationStatus |
status()
Returns the log delivery configuration status.
|
String |
statusAsString()
Returns the log delivery configuration status.
|
LogDeliveryConfiguration.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()
Returns the destination type, either cloudwatch-logs or kinesis-firehose.
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.DestinationTypepublic final String destinationTypeAsString()
Returns the destination type, either cloudwatch-logs or kinesis-firehose.
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.DestinationTypepublic final DestinationDetails destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
public final LogFormat logFormat()
Returns the log format, 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()
Returns the log format, 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 LogDeliveryConfigurationStatus status()
Returns the log delivery configuration status. Values are one of enabling | disabling |
modifying | active | error
If the service returns an enum value that is not available in the current SDK version, status will
return LogDeliveryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
enabling |
disabling | modifying | active | errorLogDeliveryConfigurationStatuspublic final String statusAsString()
Returns the log delivery configuration status. Values are one of enabling | disabling |
modifying | active | error
If the service returns an enum value that is not available in the current SDK version, status will
return LogDeliveryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
enabling |
disabling | modifying | active | errorLogDeliveryConfigurationStatuspublic final String message()
Returns an error message for the log delivery configuration.
public LogDeliveryConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogDeliveryConfiguration.Builder,LogDeliveryConfiguration>public static LogDeliveryConfiguration.Builder builder()
public static Class<? extends LogDeliveryConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.