Class UsageModelInner
java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.UsageModelInner
A usage model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: Localized information describing this usage model.Get the modelName property: Non-localized keyword name for this usage model.Get the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).void
validate()
Validates the instance.withDisplay
(UsageModelDisplay display) Set the display property: Localized information describing this usage model.withModelName
(String modelName) Set the modelName property: Non-localized keyword name for this usage model.withTargetType
(String targetType) Set the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).
-
Constructor Details
-
UsageModelInner
public UsageModelInner()
-
-
Method Details
-
display
Get the display property: Localized information describing this usage model.- Returns:
- the display value.
-
withDisplay
Set the display property: Localized information describing this usage model.- Parameters:
display
- the display value to set.- Returns:
- the UsageModelInner object itself.
-
modelName
Get the modelName property: Non-localized keyword name for this usage model.- Returns:
- the modelName value.
-
withModelName
Set the modelName property: Non-localized keyword name for this usage model.- Parameters:
modelName
- the modelName value to set.- Returns:
- the UsageModelInner object itself.
-
targetType
Get the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).- Returns:
- the targetType value.
-
withTargetType
Set the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).- Parameters:
targetType
- the targetType value to set.- Returns:
- the UsageModelInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-