Class ValidationMessages
java.lang.Object
com.azure.resourcemanager.appplatform.models.ValidationMessages
Validate messages of the configuration service git repositories.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmessages()Get the messages property: Detailed validation messages.name()Get the name property: The name of the configuration service git repository.voidvalidate()Validates the instance.withMessages(List<String> messages) Set the messages property: Detailed validation messages.Set the name property: The name of the configuration service git repository.
-
Constructor Details
-
ValidationMessages
public ValidationMessages()Creates an instance of ValidationMessages class.
-
-
Method Details
-
name
Get the name property: The name of the configuration service git repository.- Returns:
- the name value.
-
withName
Set the name property: The name of the configuration service git repository.- Parameters:
name- the name value to set.- Returns:
- the ValidationMessages object itself.
-
messages
Get the messages property: Detailed validation messages.- Returns:
- the messages value.
-
withMessages
Set the messages property: Detailed validation messages.- Parameters:
messages- the messages value to set.- Returns:
- the ValidationMessages object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-