public static final class PrimitiveComplianceValue.Builder
extends java.lang.Object
PrimitiveComplianceValue.| Constructor and Description |
|---|
Builder(ComplianceValueType type)
Constructor with parameters for the required properties of
PrimitiveComplianceValue. |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveComplianceValue |
build() |
PrimitiveComplianceValue.Builder |
setBoolValue(BooleanComplianceValue boolValue)
Describes the drift in a boolean configuration value.
|
PrimitiveComplianceValue.Builder |
setDoubleValue(DoubleComplianceValue doubleValue)
Describes the drift in a floating point(float or double) configuration value.
|
PrimitiveComplianceValue.Builder |
setLongValue(LongComplianceValue longValue)
Describes the drift in an integer(16 bit or 32 bit or 64 bit) configuration
value.
|
PrimitiveComplianceValue.Builder |
setStrValue(StringComplianceValue strValue)
Describes the drift in a string configuration value.
|
public Builder(ComplianceValueType type)
PrimitiveComplianceValue.public PrimitiveComplianceValue.Builder setBoolValue(BooleanComplianceValue boolValue)
null if the type is not BOOLEAN.boolValue - New value for the property.public PrimitiveComplianceValue.Builder setLongValue(LongComplianceValue longValue)
null if the type is not Long.longValue - New value for the property.public PrimitiveComplianceValue.Builder setDoubleValue(DoubleComplianceValue doubleValue)
null if the type is not DOUBLE.doubleValue - New value for the property.public PrimitiveComplianceValue.Builder setStrValue(StringComplianceValue strValue)
null if the type is neither STRING nor SECRET.strValue - New value for the property.public PrimitiveComplianceValue build()