@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 the DetectorConfiguration.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 the DetectorConfiguration.Builder
, which maintain a
set of all explicitly set fields called DetectorConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
DetectorConfiguration.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DetectorConfiguration(String configKey,
String name,
String value,
String dataType,
List<ConfigValue> values,
String allowedValuesDataType,
List<PropertyTuple> allowedValues)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DetectorConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<PropertyTuple> |
getAllowedValues()
Map of possible values for configuration
|
String |
getAllowedValuesDataType()
Map property Value data type
|
String |
getConfigKey()
Unique identifier of the configuration
|
String |
getDataType()
Configuration data type
|
String |
getName()
Configuration name
|
String |
getValue()
Configuration value
|
List<ConfigValue> |
getValues()
List of configuration values
|
int |
hashCode() |
DetectorConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static DetectorConfiguration.Builder builder()
Create a new builder.
public DetectorConfiguration.Builder toBuilder()
public String getConfigKey()
Unique identifier of the configuration
public String getName()
Configuration name
public String getValue()
Configuration value
public String getDataType()
Configuration data type
public List<ConfigValue> getValues()
List of configuration values
public String getAllowedValuesDataType()
Map property Value data type
public List<PropertyTuple> getAllowedValues()
Map of possible values for configuration
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.