Class NameInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.NameInfo
The name of usage.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the localizedValue property: Localized value of usage.void
validate()
Validates the instance.value()
Get the value property: Value of usage.withLocalizedValue
(String localizedValue) Set the localizedValue property: Localized value of usage.Set the value property: Value of usage.
-
Constructor Details
-
NameInfo
public NameInfo()Creates an instance of NameInfo class.
-
-
Method Details
-
value
Get the value property: Value of usage.- Returns:
- the value value.
-
withValue
Set the value property: Value of usage.- Parameters:
value
- the value value to set.- Returns:
- the NameInfo object itself.
-
localizedValue
Get the localizedValue property: Localized value of usage.- Returns:
- the localizedValue value.
-
withLocalizedValue
Set the localizedValue property: Localized value of usage.- Parameters:
localizedValue
- the localizedValue value to set.- Returns:
- the NameInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-