Class ResourceUsageName
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.ResourceUsageName
-
public final class ResourceUsageName extends Object
Naming information for this resource type.
-
-
Constructor Summary
Constructors Constructor Description ResourceUsageName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
localizedValue()
Get the localizedValue property: Localized name for this resource type.void
validate()
Validates the instance.String
value()
Get the value property: Canonical name for this resource type.ResourceUsageName
withLocalizedValue(String localizedValue)
Set the localizedValue property: Localized name for this resource type.ResourceUsageName
withValue(String value)
Set the value property: Canonical name for this resource type.
-
-
-
Method Detail
-
value
public String value()
Get the value property: Canonical name for this resource type.- Returns:
- the value value.
-
withValue
public ResourceUsageName withValue(String value)
Set the value property: Canonical name for this resource type.- Parameters:
value
- the value value to set.- Returns:
- the ResourceUsageName object itself.
-
localizedValue
public String localizedValue()
Get the localizedValue property: Localized name for this resource type.- Returns:
- the localizedValue value.
-
withLocalizedValue
public ResourceUsageName withLocalizedValue(String localizedValue)
Set the localizedValue property: Localized name for this resource type.- Parameters:
localizedValue
- the localizedValue value to set.- Returns:
- the ResourceUsageName object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-