DataBoxScheduleAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ScheduleAvailabilityRequest - com.
azure. resourcemanager. databox. models. DataBoxScheduleAvailabilityRequest
- com.
- com.
public final class DataBoxScheduleAvailabilityRequest
extends ScheduleAvailabilityRequest
Request body to get the availability for scheduling data box orders orders.
Constructor Summary
| Constructor | Description |
|---|---|
| DataBoxScheduleAvailabilityRequest() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
|
Sku |
skuName()
Get the sku |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Data |
withCountry(String country)
Set the country property: Country in which storage location should be supported. |
|
Data |
withStorageLocation(String storageLocation)
Set the storage |
Methods inherited from ScheduleAvailabilityRequest
Methods inherited from java.lang.Object
Constructor Details
DataBoxScheduleAvailabilityRequest
public DataBoxScheduleAvailabilityRequest()
Creates an instance of DataBoxScheduleAvailabilityRequest class.
Method Details
fromJson
public static DataBoxScheduleAvailabilityRequest fromJson(JsonReader jsonReader)
Reads an instance of DataBoxScheduleAvailabilityRequest 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:
DataBoxScheduleAvailabilityRequest.skuName()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataBoxScheduleAvailabilityRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataBoxScheduleAvailabilityRequest.validate()withCountry
public DataBoxScheduleAvailabilityRequest withCountry(String country)
Set the country property: Country in which storage location should be supported.
Overrides:
DataBoxScheduleAvailabilityRequest.withCountry(String country)Parameters:
withStorageLocation
public DataBoxScheduleAvailabilityRequest 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:
DataBoxScheduleAvailabilityRequest.withStorageLocation(String storageLocation)Parameters: