UsageModelInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.fluent.models.UsageModelInner

public final class UsageModelInner

A usage model.

Constructor Summary

Constructor Description
UsageModelInner()

Creates an instance of UsageModelInner class.

Method Summary

Modifier and Type Method and Description
UsageModelDisplay display()

Get the display property: Localized information describing this usage model.

String modelName()

Get the modelName property: Non-localized keyword name for this usage model.

String targetType()

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.

UsageModelInner withDisplay(UsageModelDisplay display)

Set the display property: Localized information describing this usage model.

UsageModelInner withModelName(String modelName)

Set the modelName property: Non-localized keyword name for this usage model.

UsageModelInner withTargetType(String targetType)

Set the targetType property: The type of Storage Target to which this model is applicable (only nfs3 as of this version).

Methods inherited from java.lang.Object

Constructor Details

UsageModelInner

public UsageModelInner()

Creates an instance of UsageModelInner class.

Method Details

display

public UsageModelDisplay display()

Get the display property: Localized information describing this usage model.

Returns:

the display value.

modelName

public String modelName()

Get the modelName property: Non-localized keyword name for this usage model.

Returns:

the modelName value.

targetType

public String 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.

validate

public void validate()

Validates the instance.

withDisplay

public UsageModelInner withDisplay(UsageModelDisplay display)

Set the display property: Localized information describing this usage model.

Parameters:

display - the display value to set.

Returns:

the UsageModelInner object itself.

withModelName

public UsageModelInner withModelName(String modelName)

Set the modelName property: Non-localized keyword name for this usage model.

Parameters:

modelName - the modelName value to set.

Returns:

the UsageModelInner object itself.

withTargetType

public UsageModelInner withTargetType(String targetType)

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.

Applies to