Class DestinationLogsDelivery.Builder

java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.DestinationLogsDelivery.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<DestinationLogsDelivery>
Enclosing class:
DestinationLogsDelivery

@Stability(Experimental) public static final class DestinationLogsDelivery.Builder extends Object implements software.amazon.jsii.Builder<DestinationLogsDelivery>
(experimental) A fluent builder for DestinationLogsDelivery.
  • Method Details

    • create

      @Stability(Experimental) public static DestinationLogsDelivery.Builder create(IDeliveryDestinationRef destination)
      Parameters:
      destination - This parameter is required.
      Returns:
      a new instance of DestinationLogsDelivery.Builder.
    • mandatoryFields

      @Stability(Experimental) public DestinationLogsDelivery.Builder mandatoryFields(List<String> mandatoryFields)
      (experimental) Any recordFields that a mandatory to be included in a log delivery of a certain log type.

      Default: - log type has no mandatory fields

      Parameters:
      mandatoryFields - Any recordFields that a mandatory to be included in a log delivery of a certain log type. This parameter is required.
      Returns:
      this
    • providedFields

      @Stability(Experimental) public DestinationLogsDelivery.Builder providedFields(List<String> providedFields)
      (experimental) RecordFields the user has defined to be used in log delivery.

      Parameters:
      providedFields - RecordFields the user has defined to be used in log delivery. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public DestinationLogsDelivery build()
      Specified by:
      build in interface software.amazon.jsii.Builder<DestinationLogsDelivery>
      Returns:
      a newly built instance of DestinationLogsDelivery.