Interface SubscriptionFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscriptionFilter.Builder,,SubscriptionFilter> SdkBuilder<SubscriptionFilter.Builder,,SubscriptionFilter> SdkPojo
- Enclosing class:
- SubscriptionFilter
-
Method Summary
Modifier and TypeMethodDescriptionapplyOnTransformedLogs(Boolean applyOnTransformedLogs) This parameter is valid only for log groups that have an active log transformer.creationTime(Long creationTime) The creation time of the subscription filter, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.destinationArn(String destinationArn) The Amazon Resource Name (ARN) of the destination.distribution(String distribution) Sets the value of the Distribution property for this object.distribution(Distribution distribution) Sets the value of the Distribution property for this object.emitSystemFields(String... emitSystemFields) The list of system fields that are included in the log events sent to the subscription destination.emitSystemFields(Collection<String> emitSystemFields) The list of system fields that are included in the log events sent to the subscription destination.fieldSelectionCriteria(String fieldSelectionCriteria) The filter expression that specifies which log events are processed by this subscription filter based on system fields.filterName(String filterName) The name of the subscription filter.filterPattern(String filterPattern) Sets the value of the FilterPattern property for this object.logGroupName(String logGroupName) The name of the log group.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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 afterJan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldSelectionCriteria
The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the
fieldSelectionCriteriavalue 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 thefieldSelectionCriteriavalue 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
The list of system fields that are included in the log events sent to the subscription destination. Returns the
emitSystemFieldsvalue 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 theemitSystemFieldsvalue 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
The list of system fields that are included in the log events sent to the subscription destination. Returns the
emitSystemFieldsvalue 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 theemitSystemFieldsvalue 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.
-