Interface LogDeliveryConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogDeliveryConfiguration.Builder,,LogDeliveryConfiguration> SdkBuilder<LogDeliveryConfiguration.Builder,,LogDeliveryConfiguration> SdkPojo
- Enclosing class:
LogDeliveryConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogDeliveryConfiguration.BuilderdestinationDetails(Consumer<DestinationDetails.Builder> destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.destinationDetails(DestinationDetails destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.destinationType(String destinationType) Returns the destination type, eithercloudwatch-logsorkinesis-firehose.destinationType(DestinationType destinationType) Returns the destination type, eithercloudwatch-logsorkinesis-firehose.Returns the log format, either JSON or TEXT.Returns the log format, either JSON or TEXT.Refers to slow-log or engine-log.Refers to slow-log or engine-log.Returns an error message for the log delivery configuration.Returns the log delivery configuration status.status(LogDeliveryConfigurationStatus status) Returns the log delivery configuration status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
logType
-
logType
-
destinationType
Returns the destination type, either
cloudwatch-logsorkinesis-firehose.- Parameters:
destinationType- Returns the destination type, eithercloudwatch-logsorkinesis-firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
Returns the destination type, either
cloudwatch-logsorkinesis-firehose.- Parameters:
destinationType- Returns the destination type, eithercloudwatch-logsorkinesis-firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationDetails
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
- Parameters:
destinationDetails- Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDetails
default LogDeliveryConfiguration.Builder destinationDetails(Consumer<DestinationDetails.Builder> destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
This is a convenience method that creates an instance of theDestinationDetails.Builderavoiding the need to create one manually viaDestinationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationDetails(DestinationDetails).- Parameters:
destinationDetails- a consumer that will call methods onDestinationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Returns the log format, either JSON or TEXT.
- Parameters:
logFormat- Returns the log format, either JSON or TEXT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Returns the log format, either JSON or TEXT.
- Parameters:
logFormat- Returns the log format, either JSON or TEXT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|error- Parameters:
status- Returns the log delivery configuration status. Values are one ofenabling|disabling|modifying|active|error- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the log delivery configuration status. Values are one of
enabling|disabling|modifying|active|error- Parameters:
status- Returns the log delivery configuration status. Values are one ofenabling|disabling|modifying|active|error- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Returns an error message for the log delivery configuration.
- Parameters:
message- Returns an error message for the log delivery configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-