你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QuotaCounterValueContractProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.QuotaCounterValueContractProperties

public class QuotaCounterValueContractProperties

Quota counter value details.

Constructor Summary

Constructor Description
QuotaCounterValueContractProperties()

Method Summary

Modifier and Type Method and Description
java.lang.Integer callsCount()

Get number of times Counter was called.

java.lang.Double kbTransferred()

Get data Transferred in KiloBytes.

QuotaCounterValueContractProperties withCallsCount(Integer callsCount)

Set number of times Counter was called.

QuotaCounterValueContractProperties withKbTransferred(Double kbTransferred)

Set data Transferred in KiloBytes.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

QuotaCounterValueContractProperties

public QuotaCounterValueContractProperties()

Method Details

callsCount

public Integer callsCount()

Get number of times Counter was called.

Returns:

the callsCount value

kbTransferred

public Double kbTransferred()

Get data Transferred in KiloBytes.

Returns:

the kbTransferred value

withCallsCount

public QuotaCounterValueContractProperties withCallsCount(Integer callsCount)

Set number of times Counter was called.

Parameters:

callsCount - the callsCount value to set

Returns:

the QuotaCounterValueContractProperties object itself.

withKbTransferred

public QuotaCounterValueContractProperties withKbTransferred(Double kbTransferred)

Set data Transferred in KiloBytes.

Parameters:

kbTransferred - the kbTransferred value to set

Returns:

the QuotaCounterValueContractProperties object itself.

Applies to