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