Class ConfigurationServiceGitPropertyValidateResult
java.lang.Object
com.azure.resourcemanager.appplatform.models.ConfigurationServiceGitPropertyValidateResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigurationServiceGitPropertyValidateResult>
public final class ConfigurationServiceGitPropertyValidateResult
extends Object
implements com.azure.json.JsonSerializable<ConfigurationServiceGitPropertyValidateResult>
Validation result for configuration service settings.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigurationServiceGitPropertyValidateResult class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationServiceGitPropertyValidateResult from the JsonReader.Get the gitReposValidationResult property: The detail validation results.isValid()Get the isValid property: Indicate if the configuration service settings are valid.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withGitReposValidationResult(List<ValidationMessages> gitReposValidationResult) Set the gitReposValidationResult property: The detail validation results.withIsValid(Boolean isValid) Set the isValid property: Indicate if the configuration service 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
-
ConfigurationServiceGitPropertyValidateResult
public ConfigurationServiceGitPropertyValidateResult()Creates an instance of ConfigurationServiceGitPropertyValidateResult class.
-
-
Method Details
-
isValid
Get the isValid property: Indicate if the configuration service settings are valid.- Returns:
- the isValid value.
-
withIsValid
Set the isValid property: Indicate if the configuration service settings are valid.- Parameters:
isValid- the isValid value to set.- Returns:
- the ConfigurationServiceGitPropertyValidateResult object itself.
-
gitReposValidationResult
Get the gitReposValidationResult property: The detail validation results.- Returns:
- the gitReposValidationResult value.
-
withGitReposValidationResult
public ConfigurationServiceGitPropertyValidateResult withGitReposValidationResult(List<ValidationMessages> gitReposValidationResult) Set the gitReposValidationResult property: The detail validation results.- Parameters:
gitReposValidationResult- the gitReposValidationResult value to set.- Returns:
- the ConfigurationServiceGitPropertyValidateResult 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<ConfigurationServiceGitPropertyValidateResult>- Throws:
IOException
-
fromJson
public static ConfigurationServiceGitPropertyValidateResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConfigurationServiceGitPropertyValidateResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigurationServiceGitPropertyValidateResult 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 ConfigurationServiceGitPropertyValidateResult.
-