Class ConfigServerSettingsValidateResultInner
java.lang.Object
com.azure.resourcemanager.appplatform.fluent.models.ConfigServerSettingsValidateResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigServerSettingsValidateResultInner>
public final class ConfigServerSettingsValidateResultInner
extends Object
implements com.azure.json.JsonSerializable<ConfigServerSettingsValidateResultInner>
Validation result for config server settings.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigServerSettingsValidateResultInner class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Get the details property: The detail validation results.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigServerSettingsValidateResultInner from the JsonReader.isValid()Get the isValid property: Indicate if the config server settings are valid.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDetails(List<ConfigServerSettingsErrorRecord> details) Set the details property: The detail validation results.withIsValid(Boolean isValid) Set the isValid property: Indicate if the config server settings are valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConfigServerSettingsValidateResultInner
public ConfigServerSettingsValidateResultInner()Creates an instance of ConfigServerSettingsValidateResultInner class.
-
-
Method Details
-
isValid
Get the isValid property: Indicate if the config server settings are valid.- Returns:
- the isValid value.
-
withIsValid
Set the isValid property: Indicate if the config server settings are valid.- Parameters:
isValid- the isValid value to set.- Returns:
- the ConfigServerSettingsValidateResultInner object itself.
-
details
Get the details property: The detail validation results.- Returns:
- the details value.
-
withDetails
public ConfigServerSettingsValidateResultInner withDetails(List<ConfigServerSettingsErrorRecord> details) Set the details property: The detail validation results.- Parameters:
details- the details value to set.- Returns:
- the ConfigServerSettingsValidateResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConfigServerSettingsValidateResultInner>- Throws:
IOException
-
fromJson
public static ConfigServerSettingsValidateResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConfigServerSettingsValidateResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigServerSettingsValidateResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ConfigServerSettingsValidateResultInner.
-