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 interfaceLogDeliveryConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogDeliveryConfigurationRequest.Builderbuilder()DestinationDetailsdestinationDetails()Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.DestinationTypedestinationType()Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.StringdestinationTypeAsString()Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.Booleanenabled()Specify if log delivery is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LogFormatlogFormat()Specifies either JSON or TEXTStringlogFormatAsString()Specifies either JSON or TEXTLogTypelogType()Refers to slow-log or engine-log..StringlogTypeAsString()Refers to slow-log or engine-log..Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LogDeliveryConfigurationRequest.Builder>serializableBuilderClass()LogDeliveryConfigurationRequest.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()
Specify either
cloudwatch-logsorkinesis-firehoseas the destination type.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:
- Specify either
cloudwatch-logsorkinesis-firehoseas the destination type. - See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
Specify either
cloudwatch-logsorkinesis-firehoseas the destination type.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:
- Specify either
cloudwatch-logsorkinesis-firehoseas 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,
logFormatwill 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,
logFormatwill 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:
toBuilderin 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:
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
-
-