Class ScheduleAvailabilityRequest

java.lang.Object
com.azure.resourcemanager.databox.models.ScheduleAvailabilityRequest
Direct Known Subclasses:
DataBoxScheduleAvailabilityRequest, DiskScheduleAvailabilityRequest, HeavyScheduleAvailabilityRequest

public class ScheduleAvailabilityRequest extends Object
Request body to get the availability for scheduling orders.
  • Constructor Details

    • ScheduleAvailabilityRequest

      public ScheduleAvailabilityRequest()
      Creates an instance of ScheduleAvailabilityRequest class.
  • Method Details

    • 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:
      the storageLocation value.
    • 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:
      storageLocation - the storageLocation value to set.
      Returns:
      the ScheduleAvailabilityRequest object itself.
    • country

      public String country()
      Get the country property: Country in which storage location should be supported.
      Returns:
      the country value.
    • withCountry

      public ScheduleAvailabilityRequest withCountry(String country)
      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.