Class ScheduleAvailabilityRequest
java.lang.Object
com.azure.resourcemanager.databox.models.ScheduleAvailabilityRequest
- Direct Known Subclasses:
DataBoxScheduleAvailabilityRequest
,DiskScheduleAvailabilityRequest
,HeavyScheduleAvailabilityRequest
Request body to get the availability for scheduling orders.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ScheduleAvailabilityRequest class. -
Method Summary
Modifier and TypeMethodDescriptioncountry()
Get the country property: Country in which storage location should be supported.Get the storageLocation property: Location for data transfer.void
validate()
Validates the instance.withCountry
(String country) Set the country property: Country in which storage location should be supported.withStorageLocation
(String storageLocation) Set the storageLocation property: Location for data transfer.
-
Constructor Details
-
ScheduleAvailabilityRequest
public ScheduleAvailabilityRequest()Creates an instance of ScheduleAvailabilityRequest class.
-
-
Method Details
-
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:
- the storageLocation value.
-
withStorageLocation
Set the storageLocation property: Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.- Parameters:
storageLocation
- the storageLocation value to set.- Returns:
- the ScheduleAvailabilityRequest object itself.
-
country
Get the country property: Country in which storage location should be supported.- Returns:
- the country value.
-
withCountry
Set the country property: Country in which storage location should be supported.- Parameters:
country
- the country value to set.- Returns:
- the ScheduleAvailabilityRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-