Interface Condition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,,Condition> SdkBuilder<Condition.Builder,,Condition> SdkPojo
- Enclosing class:
Condition
@Mutable
@NotThreadSafe
public static interface Condition.Builder
extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
Method Summary
Modifier and TypeMethodDescriptionHow the signal is compared with the value.How the signal is compared with the value.The package attribute that the condition tests.The package attribute that the condition tests.default Condition.Buildervalue(Consumer<ConditionValue.Builder> value) The value to compare the signal with.value(ConditionValue value) The value to compare the signal with.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
-
signal
The package attribute that the condition tests.
- Parameters:
signal- The package attribute that the condition tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signal
The package attribute that the condition tests.
- Parameters:
signal- The package attribute that the condition tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
How the signal is compared with the value.
- Parameters:
operator- How the signal is compared with the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
How the signal is compared with the value.
- Parameters:
operator- How the signal is compared with the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.
- Parameters:
value- The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.
This is a convenience method that creates an instance of theConditionValue.Builderavoiding the need to create one manually viaConditionValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(ConditionValue).- Parameters:
value- a consumer that will call methods onConditionValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-