Package com.oracle.bmc.cloudguard.model
Class DetectorConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.DetectorConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class DetectorConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Configuration details for a detector.
Note: Objects should always be created or deserialized using theDetectorConfiguration.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 theDetectorConfiguration.Builder
, which maintain a set of all explicitly set fields calledDetectorConfiguration.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
DetectorConfiguration.Builder
-
Constructor Summary
Constructors Constructor Description DetectorConfiguration(String configKey, String name, String value, String dataType, List<ConfigValue> values, String allowedValuesDataType, List<PropertyTuple> allowedValues)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectorConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<PropertyTuple>
getAllowedValues()
Map of possible values for configurationString
getAllowedValuesDataType()
Map property Value data typeString
getConfigKey()
Unique identifier of the configurationString
getDataType()
Configuration data typeString
getName()
Configuration nameString
getValue()
Configuration valueList<ConfigValue>
getValues()
List of configuration valuesint
hashCode()
DetectorConfiguration.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DetectorConfiguration
@Deprecated @ConstructorProperties({"configKey","name","value","dataType","values","allowedValuesDataType","allowedValues"}) public DetectorConfiguration(String configKey, String name, String value, String dataType, List<ConfigValue> values, String allowedValuesDataType, List<PropertyTuple> allowedValues)
Deprecated.
-
-
Method Detail
-
builder
public static DetectorConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public DetectorConfiguration.Builder toBuilder()
-
getConfigKey
public String getConfigKey()
Unique identifier of the configuration- Returns:
- the value
-
getName
public String getName()
Configuration name- Returns:
- the value
-
getValue
public String getValue()
Configuration value- Returns:
- the value
-
getDataType
public String getDataType()
Configuration data type- Returns:
- the value
-
getValues
public List<ConfigValue> getValues()
List of configuration values- Returns:
- the value
-
getAllowedValuesDataType
public String getAllowedValuesDataType()
Map property Value data type- Returns:
- the value
-
getAllowedValues
public List<PropertyTuple> getAllowedValues()
Map of possible values for configuration- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-