Class QuotaBucketRequestProperties
java.lang.Object
com.azure.resourcemanager.loadtesting.fluent.models.QuotaBucketRequestProperties
New quota request request properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QuotaBucketRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the currentQuota property: Current quota limit of the quota bucket.Get the currentUsage property: Current quota usage of the quota bucket.Get the dimensions property: Dimensions for new quota request.newQuota()Get the newQuota property: New quota limit of the quota bucket.voidvalidate()Validates the instance.withCurrentQuota(Integer currentQuota) Set the currentQuota property: Current quota limit of the quota bucket.withCurrentUsage(Integer currentUsage) Set the currentUsage property: Current quota usage of the quota bucket.withDimensions(QuotaBucketRequestPropertiesDimensions dimensions) Set the dimensions property: Dimensions for new quota request.withNewQuota(Integer newQuota) Set the newQuota property: New quota limit of the quota bucket.
-
Constructor Details
-
QuotaBucketRequestProperties
public QuotaBucketRequestProperties()Creates an instance of QuotaBucketRequestProperties class.
-
-
Method Details
-
currentUsage
Get the currentUsage property: Current quota usage of the quota bucket.- Returns:
- the currentUsage value.
-
withCurrentUsage
Set the currentUsage property: Current quota usage of the quota bucket.- Parameters:
currentUsage- the currentUsage value to set.- Returns:
- the QuotaBucketRequestProperties object itself.
-
currentQuota
Get the currentQuota property: Current quota limit of the quota bucket.- Returns:
- the currentQuota value.
-
withCurrentQuota
Set the currentQuota property: Current quota limit of the quota bucket.- Parameters:
currentQuota- the currentQuota value to set.- Returns:
- the QuotaBucketRequestProperties object itself.
-
newQuota
Get the newQuota property: New quota limit of the quota bucket.- Returns:
- the newQuota value.
-
withNewQuota
Set the newQuota property: New quota limit of the quota bucket.- Parameters:
newQuota- the newQuota value to set.- Returns:
- the QuotaBucketRequestProperties object itself.
-
dimensions
Get the dimensions property: Dimensions for new quota request.- Returns:
- the dimensions value.
-
withDimensions
public QuotaBucketRequestProperties withDimensions(QuotaBucketRequestPropertiesDimensions dimensions) Set the dimensions property: Dimensions for new quota request.- Parameters:
dimensions- the dimensions value to set.- Returns:
- the QuotaBucketRequestProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-