Class LogDeliveryConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.LogDeliveryConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogDeliveryConfiguration.Builder,LogDeliveryConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogDeliveryConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogDeliveryConfiguration.Builderbuilder()DestinationDetailsdestinationDetails()Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.DestinationTypedestinationType()Returns the destination type, eithercloudwatch-logsorkinesis-firehose.StringdestinationTypeAsString()Returns the destination type, eithercloudwatch-logsorkinesis-firehose.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LogFormatlogFormat()Returns the log format, either JSON or TEXT.StringlogFormatAsString()Returns the log format, either JSON or TEXT.LogTypelogType()Refers to slow-log or engine-log.StringlogTypeAsString()Refers to slow-log or engine-log.Stringmessage()Returns an error message for the log delivery configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LogDeliveryConfiguration.Builder>serializableBuilderClass()LogDeliveryConfigurationStatusstatus()Returns the log delivery configuration status.StringstatusAsString()Returns the log delivery configuration status.LogDeliveryConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logType
public 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,
logTypewill returnLogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogTypeAsString().
-
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,
logTypewill returnLogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogTypeAsString().
-
destinationType
public final DestinationType destinationType()
Returns the destination type, either
cloudwatch-logsorkinesis-firehose.If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- Returns the destination type, either
cloudwatch-logsorkinesis-firehose. - See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
Returns the destination type, either
cloudwatch-logsorkinesis-firehose.If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- Returns the destination type, either
cloudwatch-logsorkinesis-firehose. - See Also:
DestinationType
-
destinationDetails
public final DestinationDetails destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
- Returns:
- Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
-
logFormat
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,
logFormatwill returnLogFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFormatAsString().- Returns:
- Returns the log format, either JSON or TEXT.
- See Also:
LogFormat
-
logFormatAsString
public 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,
logFormatwill returnLogFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogFormatAsString().- Returns:
- Returns the log format, either JSON or TEXT.
- See Also:
LogFormat
-
status
public final LogDeliveryConfigurationStatus status()
Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|errorIf the service returns an enum value that is not available in the current SDK version,
statuswill returnLogDeliveryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|error - See Also:
LogDeliveryConfigurationStatus
-
statusAsString
public final String statusAsString()
Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|errorIf the service returns an enum value that is not available in the current SDK version,
statuswill returnLogDeliveryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|error - See Also:
LogDeliveryConfigurationStatus
-
message
public final String message()
Returns an error message for the log delivery configuration.
- Returns:
- Returns an error message for the log delivery configuration.
-
toBuilder
public LogDeliveryConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogDeliveryConfiguration.Builder,LogDeliveryConfiguration>
-
builder
public static LogDeliveryConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogDeliveryConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-