SignalRServiceUsageInner Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.fluent.models.SignalRServiceUsageInner

public final class SignalRServiceUsageInner

Object that describes a specific usage of the resources.

Constructor Summary

Constructor Description
SignalRServiceUsageInner()

Creates an instance of SignalRServiceUsageInner class.

Method Summary

Modifier and Type Method and Description
Long currentValue()

Get the currentValue property: Current value for the usage quota.

String id()

Get the id property: Fully qualified ARM resource id.

Long limit()

Get the limit property: The maximum permitted value for the usage quota.

SignalRServiceUsageName name()

Get the name property: Localizable String object containing the name and a localized value.

String unit()

Get the unit property: Representing the units of the usage quota.

void validate()

Validates the instance.

SignalRServiceUsageInner withCurrentValue(Long currentValue)

Set the currentValue property: Current value for the usage quota.

SignalRServiceUsageInner withId(String id)

Set the id property: Fully qualified ARM resource id.

SignalRServiceUsageInner withLimit(Long limit)

Set the limit property: The maximum permitted value for the usage quota.

SignalRServiceUsageInner withName(SignalRServiceUsageName name)

Set the name property: Localizable String object containing the name and a localized value.

SignalRServiceUsageInner withUnit(String unit)

Set the unit property: Representing the units of the usage quota.

Methods inherited from java.lang.Object

Constructor Details

SignalRServiceUsageInner

public SignalRServiceUsageInner()

Creates an instance of SignalRServiceUsageInner class.

Method Details

currentValue

public Long currentValue()

Get the currentValue property: Current value for the usage quota.

Returns:

the currentValue value.

id

public String id()

Get the id property: Fully qualified ARM resource id.

Returns:

the id value.

limit

public Long limit()

Get the limit property: The maximum permitted value for the usage quota. If there is no limit, this value will be -1.

Returns:

the limit value.

name

public SignalRServiceUsageName name()

Get the name property: Localizable String object containing the name and a localized value.

Returns:

the name value.

unit

public String unit()

Get the unit property: Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

withCurrentValue

public SignalRServiceUsageInner withCurrentValue(Long currentValue)

Set the currentValue property: Current value for the usage quota.

Parameters:

currentValue - the currentValue value to set.

Returns:

the SignalRServiceUsageInner object itself.

withId

public SignalRServiceUsageInner withId(String id)

Set the id property: Fully qualified ARM resource id.

Parameters:

id - the id value to set.

Returns:

the SignalRServiceUsageInner object itself.

withLimit

public SignalRServiceUsageInner withLimit(Long limit)

Set the limit property: The maximum permitted value for the usage quota. If there is no limit, this value will be -1.

Parameters:

limit - the limit value to set.

Returns:

the SignalRServiceUsageInner object itself.

withName

public SignalRServiceUsageInner withName(SignalRServiceUsageName name)

Set the name property: Localizable String object containing the name and a localized value.

Parameters:

name - the name value to set.

Returns:

the SignalRServiceUsageInner object itself.

withUnit

public SignalRServiceUsageInner withUnit(String unit)

Set the unit property: Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Parameters:

unit - the unit value to set.

Returns:

the SignalRServiceUsageInner object itself.

Applies to