Interface SubscriptionFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SubscriptionFilter.Builder,SubscriptionFilter>, SdkBuilder<SubscriptionFilter.Builder,SubscriptionFilter>, SdkPojo
Enclosing class:
SubscriptionFilter

@Mutable @NotThreadSafe public static interface SubscriptionFilter.Builder extends SdkPojo, CopyableBuilder<SubscriptionFilter.Builder,SubscriptionFilter>
  • Method Details

    • filterName

      SubscriptionFilter.Builder filterName(String filterName)

      The name of the subscription filter.

      Parameters:
      filterName - The name of the subscription filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupName

      SubscriptionFilter.Builder logGroupName(String logGroupName)

      The name of the log group.

      Parameters:
      logGroupName - The name of the log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterPattern

      SubscriptionFilter.Builder filterPattern(String filterPattern)
      Sets the value of the FilterPattern property for this object.
      Parameters:
      filterPattern - The new value for the FilterPattern property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationArn

      SubscriptionFilter.Builder destinationArn(String destinationArn)

      The Amazon Resource Name (ARN) of the destination.

      Parameters:
      destinationArn - The Amazon Resource Name (ARN) of the destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Parameters:
      roleArn -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • distribution

      SubscriptionFilter.Builder distribution(String distribution)
      Sets the value of the Distribution property for this object.
      Parameters:
      distribution - The new value for the Distribution property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • distribution

      SubscriptionFilter.Builder distribution(Distribution distribution)
      Sets the value of the Distribution property for this object.
      Parameters:
      distribution - The new value for the Distribution property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applyOnTransformedLogs

      SubscriptionFilter.Builder applyOnTransformedLogs(Boolean applyOnTransformedLogs)

      This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.

      If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.

      Parameters:
      applyOnTransformedLogs - This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.

      If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      SubscriptionFilter.Builder creationTime(Long creationTime)

      The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

      Parameters:
      creationTime - The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldSelectionCriteria

      SubscriptionFilter.Builder fieldSelectionCriteria(String fieldSelectionCriteria)

      The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the fieldSelectionCriteria value if it was specified when the subscription filter was created.

      Parameters:
      fieldSelectionCriteria - The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the fieldSelectionCriteria value if it was specified when the subscription filter was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emitSystemFields

      SubscriptionFilter.Builder emitSystemFields(Collection<String> emitSystemFields)

      The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.

      Parameters:
      emitSystemFields - The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emitSystemFields

      SubscriptionFilter.Builder emitSystemFields(String... emitSystemFields)

      The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.

      Parameters:
      emitSystemFields - The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.