QuotaChangeRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.QuotaChangeRequest

Implements

public final class QuotaChangeRequest
implements JsonSerializable<QuotaChangeRequest>

This property is required for providing the region and new quota limits.

Constructor Summary

Constructor Description
QuotaChangeRequest()

Creates an instance of QuotaChangeRequest class.

Method Summary

Modifier and Type Method and Description
static QuotaChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of QuotaChangeRequest from the JsonReader.

String payload()

Get the payload property: Payload of the quota increase request.

String region()

Get the region property: Region for which the quota increase request is being made.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QuotaChangeRequest withPayload(String payload)

Set the payload property: Payload of the quota increase request.

QuotaChangeRequest withRegion(String region)

Set the region property: Region for which the quota increase request is being made.

Methods inherited from java.lang.Object

Constructor Details

QuotaChangeRequest

public QuotaChangeRequest()

Creates an instance of QuotaChangeRequest class.

Method Details

fromJson

public static QuotaChangeRequest fromJson(JsonReader jsonReader)

Reads an instance of QuotaChangeRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QuotaChangeRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the QuotaChangeRequest.

payload

public String payload()

Get the payload property: Payload of the quota increase request.

Returns:

the payload value.

region

public String region()

Get the region property: Region for which the quota increase request is being made.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPayload

public QuotaChangeRequest withPayload(String payload)

Set the payload property: Payload of the quota increase request.

Parameters:

payload - the payload value to set.

Returns:

the QuotaChangeRequest object itself.

withRegion

public QuotaChangeRequest withRegion(String region)

Set the region property: Region for which the quota increase request is being made.

Parameters:

region - the region value to set.

Returns:

the QuotaChangeRequest object itself.

Applies to