Class QuotaRequestProperties
- java.lang.Object
-
- com.azure.resourcemanager.quota.fluent.models.QuotaRequestProperties
-
public final class QuotaRequestProperties extends Object
Quota request properties.
-
-
Constructor Summary
Constructors Constructor Description QuotaRequestProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceErrorDetail
error()
Get the error property: Error details of the quota request.String
message()
Get the message property: User-friendly status message.QuotaRequestState
provisioningState()
Get the provisioningState property: The quota request status.OffsetDateTime
requestSubmitTime()
Get the requestSubmitTime property: The quota request submission time.void
validate()
Validates the instance.List<SubRequest>
value()
Get the value property: Quota request details.QuotaRequestProperties
withError(ServiceErrorDetail error)
Set the error property: Error details of the quota request.QuotaRequestProperties
withValue(List<SubRequest> value)
Set the value property: Quota request details.
-
-
-
Method Detail
-
provisioningState
public QuotaRequestState provisioningState()
Get the provisioningState property: The quota request status.- Returns:
- the provisioningState value.
-
message
public String message()
Get the message property: User-friendly status message.- Returns:
- the message value.
-
error
public ServiceErrorDetail error()
Get the error property: Error details of the quota request.- Returns:
- the error value.
-
withError
public QuotaRequestProperties withError(ServiceErrorDetail error)
Set the error property: Error details of the quota request.- Parameters:
error
- the error value to set.- Returns:
- the QuotaRequestProperties object itself.
-
requestSubmitTime
public OffsetDateTime requestSubmitTime()
Get the requestSubmitTime property: The quota request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ.- Returns:
- the requestSubmitTime value.
-
value
public List<SubRequest> value()
Get the value property: Quota request details.- Returns:
- the value value.
-
withValue
public QuotaRequestProperties withValue(List<SubRequest> value)
Set the value property: Quota request details.- Parameters:
value
- the value value to set.- Returns:
- the QuotaRequestProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-