Interface CloudWatchLogsFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogsFilter.Builder,,CloudWatchLogsFilter> SdkBuilder<CloudWatchLogsFilter.Builder,,CloudWatchLogsFilter> SdkPojo
- Enclosing class:
- CloudWatchLogsFilter
@Mutable
@NotThreadSafe
public static interface CloudWatchLogsFilter.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogsFilter.Builder,CloudWatchLogsFilter>
-
Method Summary
Modifier and TypeMethodDescriptionThe key or field name to filter on within the agent trace data.The comparison operator to use for filtering.operator(CloudWatchLogsFilterOperator operator) The comparison operator to use for filtering.default CloudWatchLogsFilter.Buildervalue(Consumer<FilterValue.Builder> value) The value to compare against using the specified operator.value(FilterValue value) The value to compare against using the specified operator.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
-
key
The key or field name to filter on within the agent trace data.
- Parameters:
key- The key or field name to filter on within the agent trace data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The comparison operator to use for filtering.
- Parameters:
operator- The comparison operator to use for filtering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The comparison operator to use for filtering.
- Parameters:
operator- The comparison operator to use for filtering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The value to compare against using the specified operator.
- Parameters:
value- The value to compare against using the specified operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value to compare against using the specified operator.
This is a convenience method that creates an instance of theFilterValue.Builderavoiding the need to create one manually viaFilterValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(FilterValue).- Parameters:
value- a consumer that will call methods onFilterValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-