Interface ConfigurationTemplate.Builder

  • Method Details

    • service

      A string specifying which service this configuration template applies to. For more information about supported services see Enable logging from Amazon Web Services services..

      Parameters:
      service - A string specifying which service this configuration template applies to. For more information about supported services see Enable logging from Amazon Web Services services..
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logType

      A string specifying which log type this configuration template applies to.

      Parameters:
      logType - A string specifying which log type this configuration template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      ConfigurationTemplate.Builder resourceType(String resourceType)

      A string specifying which resource type this configuration template applies to.

      Parameters:
      resourceType - A string specifying which resource type this configuration template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryDestinationType

      ConfigurationTemplate.Builder deliveryDestinationType(String deliveryDestinationType)

      A string specifying which destination type this configuration template applies to.

      Parameters:
      deliveryDestinationType - A string specifying which destination type this configuration template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryDestinationType

      ConfigurationTemplate.Builder deliveryDestinationType(DeliveryDestinationType deliveryDestinationType)

      A string specifying which destination type this configuration template applies to.

      Parameters:
      deliveryDestinationType - A string specifying which destination type this configuration template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultDeliveryConfigValues

      ConfigurationTemplate.Builder defaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues defaultDeliveryConfigValues)

      A mapping that displays the default value of each property within a delivery’s configuration, if it is not specified in the request.

      Parameters:
      defaultDeliveryConfigValues - A mapping that displays the default value of each property within a delivery’s configuration, if it is not specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultDeliveryConfigValues

      default ConfigurationTemplate.Builder defaultDeliveryConfigValues(Consumer<ConfigurationTemplateDeliveryConfigValues.Builder> defaultDeliveryConfigValues)

      A mapping that displays the default value of each property within a delivery’s configuration, if it is not specified in the request.

      This is a convenience method that creates an instance of the ConfigurationTemplateDeliveryConfigValues.Builder avoiding the need to create one manually via ConfigurationTemplateDeliveryConfigValues.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to defaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues).

      Parameters:
      defaultDeliveryConfigValues - a consumer that will call methods on ConfigurationTemplateDeliveryConfigValues.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allowedFields

      ConfigurationTemplate.Builder allowedFields(Collection<RecordField> allowedFields)

      The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.

      Parameters:
      allowedFields - The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFields

      ConfigurationTemplate.Builder allowedFields(RecordField... allowedFields)

      The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.

      Parameters:
      allowedFields - The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFields

      The allowed fields that a caller can use in the recordFields parameter of a CreateDelivery or UpdateDeliveryConfiguration operation.

      This is a convenience method that creates an instance of the RecordField.Builder avoiding the need to create one manually via RecordField.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to allowedFields(List<RecordField>).

      Parameters:
      allowedFields - a consumer that will call methods on RecordField.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allowedOutputFormatsWithStrings

      ConfigurationTemplate.Builder allowedOutputFormatsWithStrings(Collection<String> allowedOutputFormats)

      The list of delivery destination output formats that are supported by this log source.

      Parameters:
      allowedOutputFormats - The list of delivery destination output formats that are supported by this log source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOutputFormatsWithStrings

      ConfigurationTemplate.Builder allowedOutputFormatsWithStrings(String... allowedOutputFormats)

      The list of delivery destination output formats that are supported by this log source.

      Parameters:
      allowedOutputFormats - The list of delivery destination output formats that are supported by this log source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOutputFormats

      ConfigurationTemplate.Builder allowedOutputFormats(Collection<OutputFormat> allowedOutputFormats)

      The list of delivery destination output formats that are supported by this log source.

      Parameters:
      allowedOutputFormats - The list of delivery destination output formats that are supported by this log source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedOutputFormats

      ConfigurationTemplate.Builder allowedOutputFormats(OutputFormat... allowedOutputFormats)

      The list of delivery destination output formats that are supported by this log source.

      Parameters:
      allowedOutputFormats - The list of delivery destination output formats that are supported by this log source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedActionForAllowVendedLogsDeliveryForResource

      ConfigurationTemplate.Builder allowedActionForAllowVendedLogsDeliveryForResource(String allowedActionForAllowVendedLogsDeliveryForResource)

      The action permissions that a caller needs to have to be able to successfully create a delivery source on the desired resource type when calling PutDeliverySource.

      Parameters:
      allowedActionForAllowVendedLogsDeliveryForResource - The action permissions that a caller needs to have to be able to successfully create a delivery source on the desired resource type when calling PutDeliverySource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFieldDelimiters

      ConfigurationTemplate.Builder allowedFieldDelimiters(Collection<String> allowedFieldDelimiters)

      The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.

      Parameters:
      allowedFieldDelimiters - The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFieldDelimiters

      ConfigurationTemplate.Builder allowedFieldDelimiters(String... allowedFieldDelimiters)

      The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.

      Parameters:
      allowedFieldDelimiters - The valid values that a caller can use as field delimiters when calling CreateDelivery or UpdateDeliveryConfiguration on a delivery that delivers in Plain, W3C, or Raw format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedSuffixPathFields

      ConfigurationTemplate.Builder allowedSuffixPathFields(Collection<String> allowedSuffixPathFields)

      The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.

      Parameters:
      allowedSuffixPathFields - The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedSuffixPathFields

      ConfigurationTemplate.Builder allowedSuffixPathFields(String... allowedSuffixPathFields)

      The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.

      Parameters:
      allowedSuffixPathFields - The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.