QuotaCapability Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.QuotaCapability

public class QuotaCapability

The regional quota capability.

Constructor Summary

Constructor Description
QuotaCapability()

Method Summary

Modifier and Type Method and Description
java.lang.Long coresUsed()

Get the number of cores used in the subscription.

java.lang.Long maxCoresAllowed()

Get the number of cores that the subscription allowed.

java.util.List<RegionalQuotaCapability> regionalQuotas()

Get the list of region quota capabilities.

QuotaCapability withCoresUsed(Long coresUsed)

Set the number of cores used in the subscription.

QuotaCapability withMaxCoresAllowed(Long maxCoresAllowed)

Set the number of cores that the subscription allowed.

QuotaCapability withRegionalQuotas(List<RegionalQuotaCapability> regionalQuotas)

Set the list of region quota capabilities.

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

QuotaCapability

public QuotaCapability()

Method Details

coresUsed

public Long coresUsed()

Get the number of cores used in the subscription.

Returns:

the coresUsed value

maxCoresAllowed

public Long maxCoresAllowed()

Get the number of cores that the subscription allowed.

Returns:

the maxCoresAllowed value

regionalQuotas

public List regionalQuotas()

Get the list of region quota capabilities.

Returns:

the regionalQuotas value

withCoresUsed

public QuotaCapability withCoresUsed(Long coresUsed)

Set the number of cores used in the subscription.

Parameters:

coresUsed - the coresUsed value to set

Returns:

the QuotaCapability object itself.

withMaxCoresAllowed

public QuotaCapability withMaxCoresAllowed(Long maxCoresAllowed)

Set the number of cores that the subscription allowed.

Parameters:

maxCoresAllowed - the maxCoresAllowed value to set

Returns:

the QuotaCapability object itself.

withRegionalQuotas

public QuotaCapability withRegionalQuotas(List regionalQuotas)

Set the list of region quota capabilities.

Parameters:

regionalQuotas - the regionalQuotas value to set

Returns:

the QuotaCapability object itself.

Applies to