Interface LogDeliveryConfigurationRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogDeliveryConfigurationRequest.Builder,,LogDeliveryConfigurationRequest> SdkBuilder<LogDeliveryConfigurationRequest.Builder,,LogDeliveryConfigurationRequest> SdkPojo
- Enclosing class:
LogDeliveryConfigurationRequest
public static interface LogDeliveryConfigurationRequest.Builder
extends SdkPojo, CopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationDetails(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) Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.destinationType(DestinationType destinationType) Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.Specify if log delivery is enabled.Specifies either JSON or TEXTSpecifies either JSON or TEXTRefers to slow-log or engine-log..Refers to slow-log or engine-log..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
Specify either
cloudwatch-logsorkinesis-firehoseas the destination type.- Parameters:
destinationType- Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
Specify either
cloudwatch-logsorkinesis-firehoseas the destination type.- Parameters:
destinationType- Specify eithercloudwatch-logsorkinesis-firehoseas the destination type.- 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 LogDeliveryConfigurationRequest.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
Specifies either JSON or TEXT
- Parameters:
logFormat- Specifies either JSON or TEXT- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Specifies either JSON or TEXT
- Parameters:
logFormat- Specifies either JSON or TEXT- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
Specify if log delivery is enabled. Default
true.- Parameters:
enabled- Specify if log delivery is enabled. Defaulttrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-