Interface Selector.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Selector.Builder,Selector>,SdkBuilder<Selector.Builder,Selector>,SdkPojo
- Enclosing class:
- Selector
public static interface Selector.Builder extends SdkPojo, CopyableBuilder<Selector.Builder,Selector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Selector.BuilderfieldName(String fieldName)The name of the field that the operator will be applied to.default Selector.Builderoperator(Consumer<Operator.Builder> operator)Sets the value of the Operator property for this object.Selector.Builderoperator(Operator operator)Sets the value of the Operator property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fieldName
Selector.Builder fieldName(String fieldName)
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
- Parameters:
fieldName- The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
Selector.Builder operator(Operator operator)
Sets the value of the Operator property for this object.- Parameters:
operator- The new value for the Operator property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
default Selector.Builder operator(Consumer<Operator.Builder> operator)
Sets the value of the Operator property for this object. This is a convenience method that creates an instance of theOperator.Builderavoiding the need to create one manually viaOperator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperator(Operator).- Parameters:
operator- a consumer that will call methods onOperator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operator(Operator)
-
-