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 interface
LogDeliveryConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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, eithercloudwatch-logs
orkinesis-firehose
.String
destinationTypeAsString()
Returns the destination type, eithercloudwatch-logs
orkinesis-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.-
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,
logType
will 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,
logType
will 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-logs
orkinesis-firehose
.If the service returns an enum value that is not available in the current SDK version,
destinationType
will returnDestinationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdestinationTypeAsString()
.- Returns:
- Returns the destination type, either
cloudwatch-logs
orkinesis-firehose
. - See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
Returns the destination type, either
cloudwatch-logs
orkinesis-firehose
.If the service returns an enum value that is not available in the current SDK version,
destinationType
will returnDestinationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdestinationTypeAsString()
.- Returns:
- Returns the destination type, either
cloudwatch-logs
orkinesis-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,
logFormat
will 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,
logFormat
will 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
|error
If the service returns an enum value that is not available in the current SDK version,
status
will 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
|error
If the service returns an enum value that is not available in the current SDK version,
status
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-