Class UpdateWorkspaceQuotas
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.UpdateWorkspaceQuotas
-
public final class UpdateWorkspaceQuotas extends Object
The properties for update Quota response.
-
-
Constructor Summary
Constructors Constructor Description UpdateWorkspaceQuotas()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Specifies the resource ID.Long
limit()
Get the limit property: Limit.Status
status()
Get the status property: Update Workspace Quota Status.String
type()
Get the type property: Specifies the resource type.QuotaUnit
unit()
Get the unit property: An enum describing the unit of quota measurement.void
validate()
Validates the instance.UpdateWorkspaceQuotas
withLimit(Long limit)
Set the limit property: Limit.UpdateWorkspaceQuotas
withStatus(Status status)
Set the status property: Update Workspace Quota Status.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Specifies the resource ID.- Returns:
- the id value.
-
type
public String type()
Get the type property: Specifies the resource type.- Returns:
- the type value.
-
limit
public Long limit()
Get the limit property: Limit. The maximum permitted quota of the resource.- Returns:
- the limit value.
-
withLimit
public UpdateWorkspaceQuotas withLimit(Long limit)
Set the limit property: Limit. The maximum permitted quota of the resource.- Parameters:
limit
- the limit value to set.- Returns:
- the UpdateWorkspaceQuotas object itself.
-
unit
public QuotaUnit unit()
Get the unit property: An enum describing the unit of quota measurement.- Returns:
- the unit value.
-
status
public Status status()
Get the status property: Update Workspace Quota Status. Status of update workspace quota.- Returns:
- the status value.
-
withStatus
public UpdateWorkspaceQuotas withStatus(Status status)
Set the status property: Update Workspace Quota Status. Status of update workspace quota.- Parameters:
status
- the status value to set.- Returns:
- the UpdateWorkspaceQuotas object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-