Class RegionConfigurationRequest
java.lang.Object
com.azure.resourcemanager.databox.models.RegionConfigurationRequest
Request body to get the configuration for the region.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RegionConfigurationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.Get the transportAvailabilityRequest property: Request body to get the transport availability for given sku.void
validate()
Validates the instance.withScheduleAvailabilityRequest
(ScheduleAvailabilityRequest scheduleAvailabilityRequest) Set the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.withTransportAvailabilityRequest
(TransportAvailabilityRequest transportAvailabilityRequest) Set the transportAvailabilityRequest property: Request body to get the transport availability for given sku.
-
Constructor Details
-
RegionConfigurationRequest
public RegionConfigurationRequest()Creates an instance of RegionConfigurationRequest class.
-
-
Method Details
-
scheduleAvailabilityRequest
Get the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.- Returns:
- the scheduleAvailabilityRequest value.
-
withScheduleAvailabilityRequest
public RegionConfigurationRequest withScheduleAvailabilityRequest(ScheduleAvailabilityRequest scheduleAvailabilityRequest) Set the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.- Parameters:
scheduleAvailabilityRequest
- the scheduleAvailabilityRequest value to set.- Returns:
- the RegionConfigurationRequest object itself.
-
transportAvailabilityRequest
Get the transportAvailabilityRequest property: Request body to get the transport availability for given sku.- Returns:
- the transportAvailabilityRequest value.
-
withTransportAvailabilityRequest
public RegionConfigurationRequest withTransportAvailabilityRequest(TransportAvailabilityRequest transportAvailabilityRequest) Set the transportAvailabilityRequest property: Request body to get the transport availability for given sku.- Parameters:
transportAvailabilityRequest
- the transportAvailabilityRequest value to set.- Returns:
- the RegionConfigurationRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-