Package com.oracle.bmc.cloudguard.model
Class SimpleCondition
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.Condition
-
- com.oracle.bmc.cloudguard.model.SimpleCondition
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class SimpleCondition extends ConditionInformation for a simple condition.
Note: Objects should always be created or deserialized using theSimpleCondition.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSimpleCondition.Builder, which maintain a set of all explicitly set fields calledSimpleCondition.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleCondition.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.cloudguard.model.Condition
Condition.Kind
-
-
Constructor Summary
Constructors Constructor Description SimpleCondition(String parameter, OperatorType operator, String value, ConditionValueType valueType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleCondition.Builderbuilder()Create a new builder.booleanequals(Object o)OperatorTypegetOperator()Type of operatorStringgetParameter()Parameter keyStringgetValue()Value of operator in conditionConditionValueTypegetValueType()Type of value in conditioninthashCode()SimpleCondition.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SimpleCondition
@Deprecated public SimpleCondition(String parameter, OperatorType operator, String value, ConditionValueType valueType)
Deprecated.
-
-
Method Detail
-
builder
public static SimpleCondition.Builder builder()
Create a new builder.
-
toBuilder
public SimpleCondition.Builder toBuilder()
-
getParameter
public String getParameter()
Parameter key- Returns:
- the value
-
getOperator
public OperatorType getOperator()
Type of operator- Returns:
- the value
-
getValue
public String getValue()
Value of operator in condition- Returns:
- the value
-
getValueType
public ConditionValueType getValueType()
Type of value in condition- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-