Class UserSubscriptionQuota
java.lang.Object
com.azure.resourcemanager.iothub.models.UserSubscriptionQuota
User subscription quota response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: Current number of IotHub type.id()
Get the id property: IotHub type id.limit()
Get the limit property: Numerical limit on IotHub type.name()
Get the name property: IotHub type.type()
Get the type property: Response type.unit()
Get the unit property: Unit of IotHub type.void
validate()
Validates the instance.withCurrentValue
(Integer currentValue) Set the currentValue property: Current number of IotHub type.Set the id property: IotHub type id.Set the limit property: Numerical limit on IotHub type.Set the name property: IotHub type.Set the type property: Response type.Set the unit property: Unit of IotHub type.
-
Constructor Details
-
UserSubscriptionQuota
public UserSubscriptionQuota()
-
-
Method Details
-
id
Get the id property: IotHub type id.- Returns:
- the id value.
-
withId
Set the id property: IotHub type id.- Parameters:
id
- the id value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
type
Get the type property: Response type.- Returns:
- the type value.
-
withType
Set the type property: Response type.- Parameters:
type
- the type value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
unit
Get the unit property: Unit of IotHub type.- Returns:
- the unit value.
-
withUnit
Set the unit property: Unit of IotHub type.- Parameters:
unit
- the unit value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
currentValue
Get the currentValue property: Current number of IotHub type.- Returns:
- the currentValue value.
-
withCurrentValue
Set the currentValue property: Current number of IotHub type.- Parameters:
currentValue
- the currentValue value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
limit
Get the limit property: Numerical limit on IotHub type.- Returns:
- the limit value.
-
withLimit
Set the limit property: Numerical limit on IotHub type.- Parameters:
limit
- the limit value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
name
Get the name property: IotHub type.- Returns:
- the name value.
-
withName
Set the name property: IotHub type.- Parameters:
name
- the name value to set.- Returns:
- the UserSubscriptionQuota object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-