Class BooleanCondition
- java.lang.Object
-
- software.amazon.awssdk.services.connectcases.model.BooleanCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BooleanCondition.Builder,BooleanCondition>
@Generated("software.amazon.awssdk:codegen") public final class BooleanCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BooleanCondition.Builder,BooleanCondition>
Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBooleanCondition.Builderstatic classBooleanCondition.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BooleanCondition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanOperandsequalTo()Tests that operandOne is equal to operandTwo.static BooleanConditionfromEqualTo(Consumer<BooleanOperands.Builder> equalTo)Create an instance of this class withequalTo()initialized to the given value.static BooleanConditionfromEqualTo(BooleanOperands equalTo)Create an instance of this class withequalTo()initialized to the given value.static BooleanConditionfromNotEqualTo(Consumer<BooleanOperands.Builder> notEqualTo)Create an instance of this class withnotEqualTo()initialized to the given value.static BooleanConditionfromNotEqualTo(BooleanOperands notEqualTo)Create an instance of this class withnotEqualTo()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanOperandsnotEqualTo()Tests that operandOne is not equal to operandTwo.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BooleanCondition.Builder>serializableBuilderClass()BooleanCondition.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanCondition.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
equalTo
public final BooleanOperands equalTo()
Tests that operandOne is equal to operandTwo.
- Returns:
- Tests that operandOne is equal to operandTwo.
-
notEqualTo
public final BooleanOperands notEqualTo()
Tests that operandOne is not equal to operandTwo.
- Returns:
- Tests that operandOne is not equal to operandTwo.
-
toBuilder
public BooleanCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BooleanCondition.Builder,BooleanCondition>
-
builder
public static BooleanCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends BooleanCondition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromEqualTo
public static BooleanCondition fromEqualTo(BooleanOperands equalTo)
Create an instance of this class withequalTo()initialized to the given value.Tests that operandOne is equal to operandTwo.
- Parameters:
equalTo- Tests that operandOne is equal to operandTwo.
-
fromEqualTo
public static BooleanCondition fromEqualTo(Consumer<BooleanOperands.Builder> equalTo)
Create an instance of this class withequalTo()initialized to the given value.Tests that operandOne is equal to operandTwo.
- Parameters:
equalTo- Tests that operandOne is equal to operandTwo.
-
fromNotEqualTo
public static BooleanCondition fromNotEqualTo(BooleanOperands notEqualTo)
Create an instance of this class withnotEqualTo()initialized to the given value.Tests that operandOne is not equal to operandTwo.
- Parameters:
notEqualTo- Tests that operandOne is not equal to operandTwo.
-
fromNotEqualTo
public static BooleanCondition fromNotEqualTo(Consumer<BooleanOperands.Builder> notEqualTo)
Create an instance of this class withnotEqualTo()initialized to the given value.Tests that operandOne is not equal to operandTwo.
- Parameters:
notEqualTo- Tests that operandOne is not equal to operandTwo.
-
type
public BooleanCondition.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beBooleanCondition.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beBooleanCondition.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-