Class DiskScheduleAvailabilityRequest

java.lang.Object
com.azure.resourcemanager.databox.models.ScheduleAvailabilityRequest
com.azure.resourcemanager.databox.models.DiskScheduleAvailabilityRequest

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

    • DiskScheduleAvailabilityRequest

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

    • expectedDataSizeInTeraBytes

      public int expectedDataSizeInTeraBytes()
      Get the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.
      Returns:
      the expectedDataSizeInTeraBytes value.
    • withExpectedDataSizeInTeraBytes

      public DiskScheduleAvailabilityRequest withExpectedDataSizeInTeraBytes(int expectedDataSizeInTeraBytes)
      Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.
      Parameters:
      expectedDataSizeInTeraBytes - the expectedDataSizeInTeraBytes value to set.
      Returns:
      the DiskScheduleAvailabilityRequest object itself.
    • withStorageLocation

      public DiskScheduleAvailabilityRequest 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:
      withStorageLocation in class ScheduleAvailabilityRequest
      Parameters:
      storageLocation - the storageLocation value to set.
      Returns:
      the ScheduleAvailabilityRequest object itself.
    • withCountry

      public DiskScheduleAvailabilityRequest withCountry(String country)
      Set the country property: Country in which storage location should be supported.
      Overrides:
      withCountry in class ScheduleAvailabilityRequest
      Parameters:
      country - the country value to set.
      Returns:
      the ScheduleAvailabilityRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ScheduleAvailabilityRequest
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.