Class AvailableSkuRequest

java.lang.Object
com.azure.resourcemanager.databox.models.AvailableSkuRequest

public final class AvailableSkuRequest extends Object
The filters for showing the available skus.
  • Constructor Details

    • AvailableSkuRequest

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

    • transferType

      public TransferType transferType()
      Get the transferType property: Type of the transfer.
      Returns:
      the transferType value.
    • withTransferType

      public AvailableSkuRequest withTransferType(TransferType transferType)
      Set the transferType property: Type of the transfer.
      Parameters:
      transferType - the transferType value to set.
      Returns:
      the AvailableSkuRequest object itself.
    • country

      public String country()
      Get the country property: ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements.
      Returns:
      the country value.
    • withCountry

      public AvailableSkuRequest withCountry(String country)
      Set the country property: ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements.
      Parameters:
      country - the country value to set.
      Returns:
      the AvailableSkuRequest object itself.
    • location

      public String location()
      Get the location property: Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.
      Returns:
      the location value.
    • withLocation

      public AvailableSkuRequest withLocation(String location)
      Set the location property: Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.
      Parameters:
      location - the location value to set.
      Returns:
      the AvailableSkuRequest object itself.
    • skuNames

      public List<SkuName> skuNames()
      Get the skuNames property: Sku Names to filter for available skus.
      Returns:
      the skuNames value.
    • withSkuNames

      public AvailableSkuRequest withSkuNames(List<SkuName> skuNames)
      Set the skuNames property: Sku Names to filter for available skus.
      Parameters:
      skuNames - the skuNames value to set.
      Returns:
      the AvailableSkuRequest object itself.
    • validate

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