ConfigServerSettingsValidateResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.fluent.models.ConfigServerSettingsValidateResultInner

Implements

public final class ConfigServerSettingsValidateResultInner
implements JsonSerializable<ConfigServerSettingsValidateResultInner>

Validation result for config server settings.

Constructor Summary

Constructor Description
ConfigServerSettingsValidateResultInner()

Creates an instance of ConfigServerSettingsValidateResultInner class.

Method Summary

Modifier and Type Method and Description
List<ConfigServerSettingsErrorRecord> details()

Get the details property: The detail validation results.

static ConfigServerSettingsValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerSettingsValidateResultInner from the JsonReader.

Boolean isValid()

Get the isValid property: Indicate if the config server settings are valid.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigServerSettingsValidateResultInner withDetails(List<ConfigServerSettingsErrorRecord> details)

Set the details property: The detail validation results.

ConfigServerSettingsValidateResultInner withIsValid(Boolean isValid)

Set the isValid property: Indicate if the config server settings are valid.

Methods inherited from java.lang.Object

Constructor Details

ConfigServerSettingsValidateResultInner

public ConfigServerSettingsValidateResultInner()

Creates an instance of ConfigServerSettingsValidateResultInner class.

Method Details

details

public List details()

Get the details property: The detail validation results.

Returns:

the details value.

fromJson

public static ConfigServerSettingsValidateResultInner fromJson(JsonReader jsonReader)

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.

isValid

public Boolean isValid()

Get the isValid property: Indicate if the config server settings are valid.

Returns:

the isValid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetails

public ConfigServerSettingsValidateResultInner withDetails(List details)

Set the details property: The detail validation results.

Parameters:

details - the details value to set.

Returns:

the ConfigServerSettingsValidateResultInner object itself.

withIsValid

public ConfigServerSettingsValidateResultInner withIsValid(Boolean isValid)

Set the isValid property: Indicate if the config server settings are valid.

Parameters:

isValid - the isValid value to set.

Returns:

the ConfigServerSettingsValidateResultInner object itself.

Applies to