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 Condition
Information 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 class
SimpleCondition.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
OperatorType
getOperator()
Type of operatorString
getParameter()
Parameter keyString
getValue()
Value of operator in conditionConditionValueType
getValueType()
Type of value in conditionint
hashCode()
SimpleCondition.Builder
toBuilder()
String
toString()
String
toString(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.
-
-