ValidationMessages Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ValidationMessages
- com.
Implements
public final class ValidationMessages
implements JsonSerializable<ValidationMessages>
Validate messages of the configuration service git repositories.
Constructor Summary
Constructor | Description |
---|---|
ValidationMessages() |
Creates an instance of Validation |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Validation |
fromJson(JsonReader jsonReader)
Reads an instance of Validation |
List<String> |
messages()
Get the messages property: Detailed validation messages. |
String |
name()
Get the name property: The name of the configuration service git repository. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Validation |
withMessages(List<String> messages)
Set the messages property: Detailed validation messages. |
Validation |
withName(String name)
Set the name property: The name of the configuration service git repository. |
Methods inherited from java.lang.Object
Constructor Details
ValidationMessages
public ValidationMessages()
Creates an instance of ValidationMessages class.
Method Details
fromJson
public static ValidationMessages fromJson(JsonReader jsonReader)
Reads an instance of ValidationMessages from the JsonReader.
Parameters:
Returns:
Throws:
messages
public List
Get the messages property: Detailed validation messages.
Returns:
name
public String name()
Get the name property: The name of the configuration service git repository.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMessages
public ValidationMessages withMessages(List
Set the messages property: Detailed validation messages.
Parameters:
Returns:
withName
public ValidationMessages withName(String name)
Set the name property: The name of the configuration service git repository.
Parameters:
Returns:
Applies to
Azure SDK for Java