Class NameInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.NameInfo
-
public final class NameInfo extends Object
The name of usage.
-
-
Constructor Summary
Constructors Constructor Description NameInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
localizedValue()
Get the localizedValue property: Localized value of usage.void
validate()
Validates the instance.String
value()
Get the value property: Value of usage.NameInfo
withLocalizedValue(String localizedValue)
Set the localizedValue property: Localized value of usage.NameInfo
withValue(String value)
Set the value property: Value of usage.
-
-
-
Method Detail
-
value
public String value()
Get the value property: Value of usage.- Returns:
- the value value.
-
withValue
public NameInfo withValue(String value)
Set the value property: Value of usage.- Parameters:
value
- the value value to set.- Returns:
- the NameInfo object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: Localized value of usage.- Returns:
- the localizedValue value.
-
withLocalizedValue
public NameInfo withLocalizedValue(String localizedValue)
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.
-
-