HeavyScheduleAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ScheduleAvailabilityRequest - com.
azure. resourcemanager. databox. models. HeavyScheduleAvailabilityRequest
- com.
- com.
public final class HeavyScheduleAvailabilityRequest
extends ScheduleAvailabilityRequest
Request body to get the availability for scheduling heavy orders.
Constructor Summary
| Constructor | Description |
|---|---|
| HeavyScheduleAvailabilityRequest() |
Creates an instance of Heavy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Heavy |
fromJson(JsonReader jsonReader)
Reads an instance of Heavy |
|
Sku |
skuName()
Get the sku |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Heavy |
withCountry(String country)
Set the country property: Country in which storage location should be supported. |
|
Heavy |
withStorageLocation(String storageLocation)
Set the storage |
Methods inherited from ScheduleAvailabilityRequest
Methods inherited from java.lang.Object
Constructor Details
HeavyScheduleAvailabilityRequest
public HeavyScheduleAvailabilityRequest()
Creates an instance of HeavyScheduleAvailabilityRequest class.
Method Details
fromJson
public static HeavyScheduleAvailabilityRequest fromJson(JsonReader jsonReader)
Reads an instance of HeavyScheduleAvailabilityRequest from the JsonReader.
Parameters:
Returns:
Throws:
skuName
public SkuName skuName()
Get the skuName property: Sku Name for which the order is to be scheduled.
Overrides:
HeavyScheduleAvailabilityRequest.skuName()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HeavyScheduleAvailabilityRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
HeavyScheduleAvailabilityRequest.validate()withCountry
public HeavyScheduleAvailabilityRequest withCountry(String country)
Set the country property: Country in which storage location should be supported.
Overrides:
HeavyScheduleAvailabilityRequest.withCountry(String country)Parameters:
withStorageLocation
public HeavyScheduleAvailabilityRequest withStorageLocation(String storageLocation)
Set the storageLocation property: Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.
Overrides:
HeavyScheduleAvailabilityRequest.withStorageLocation(String storageLocation)Parameters: