Class NameValuePair
java.lang.Object
com.azure.resourcemanager.appservice.models.NameValuePair
Name value pair.
-
Constructor Details
-
NameValuePair
public NameValuePair()
-
-
Method Details
-
name
Get the name property: Pair name.- Returns:
- the name value.
-
withName
Set the name property: Pair name.- Parameters:
name
- the name value to set.- Returns:
- the NameValuePair object itself.
-
value
Get the value property: Pair value.- Returns:
- the value value.
-
withValue
Set the value property: Pair value.- Parameters:
value
- the value value to set.- Returns:
- the NameValuePair object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-