Interface SubscriptionFilter.Builder

    • Method Detail

      • 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

        SubscriptionFilter.Builder roleArn​(String 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, Distribution
      • 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:
        Distribution, Distribution
      • 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.