Class LogDeliveryConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.LogDeliveryConfigurationRequest
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LogDeliveryConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogDeliveryConfigurationRequest.Builder
builder()
DestinationDetails
destinationDetails()
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.DestinationType
destinationType()
Specify eithercloudwatch-logs
orkinesis-firehose
as the destination type.String
destinationTypeAsString()
Specify eithercloudwatch-logs
orkinesis-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 TEXTString
logFormatAsString()
Specifies either JSON or TEXTLogType
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.-
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()
Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type.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:
- Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type. - See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type.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:
- Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type. - 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()
Specifies 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:
- Specifies either JSON or TEXT
- See Also:
LogFormat
-
logFormatAsString
public 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 returnLogFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlogFormatAsString()
.- Returns:
- Specifies either JSON or TEXT
- See Also:
LogFormat
-
enabled
public final Boolean enabled()
Specify if log delivery is enabled. Default
true
.- Returns:
- Specify if log delivery is enabled. Default
true
.
-
toBuilder
public LogDeliveryConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>
-
builder
public static LogDeliveryConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogDeliveryConfigurationRequest.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.
-
-