Class UsageModelDisplay
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.UsageModelDisplay
-
public final class UsageModelDisplay extends Object
Localized information describing this usage model.
-
-
Constructor Summary
Constructors Constructor Description UsageModelDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: String to display for this usage model.void
validate()
Validates the instance.UsageModelDisplay
withDescription(String description)
Set the description property: String to display for this usage model.
-
-
-
Method Detail
-
description
public String description()
Get the description property: String to display for this usage model.- Returns:
- the description value.
-
withDescription
public UsageModelDisplay withDescription(String description)
Set the description property: String to display for this usage model.- Parameters:
description
- the description value to set.- Returns:
- the UsageModelDisplay object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-