RegionConfigurationRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. RegionConfigurationRequest
- com.
Implements
public final class RegionConfigurationRequest
implements JsonSerializable<RegionConfigurationRequest>
Request body to get the configuration for the region.
Constructor Summary
| Constructor | Description |
|---|---|
| RegionConfigurationRequest() |
Creates an instance of Region |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Datacenter |
datacenterAddressRequest()
Get the datacenter |
|
static
Region |
fromJson(JsonReader jsonReader)
Reads an instance of Region |
|
Schedule |
scheduleAvailabilityRequest()
Get the schedule |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Transport |
transportAvailabilityRequest()
Get the transport |
| void |
validate()
Validates the instance. |
|
Region |
withDatacenterAddressRequest(DatacenterAddressRequest datacenterAddressRequest)
Set the datacenter |
|
Region |
withScheduleAvailabilityRequest(ScheduleAvailabilityRequest scheduleAvailabilityRequest)
Set the schedule |
|
Region |
withTransportAvailabilityRequest(TransportAvailabilityRequest transportAvailabilityRequest)
Set the transport |
Methods inherited from java.lang.Object
Constructor Details
RegionConfigurationRequest
public RegionConfigurationRequest()
Creates an instance of RegionConfigurationRequest class.
Method Details
datacenterAddressRequest
public DatacenterAddressRequest datacenterAddressRequest()
Get the datacenterAddressRequest property: Request body to get the datacenter address for given sku.
Returns:
fromJson
public static RegionConfigurationRequest fromJson(JsonReader jsonReader)
Reads an instance of RegionConfigurationRequest from the JsonReader.
Parameters:
Returns:
Throws:
scheduleAvailabilityRequest
public ScheduleAvailabilityRequest scheduleAvailabilityRequest()
Get the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.
Returns:
toJson
transportAvailabilityRequest
public TransportAvailabilityRequest transportAvailabilityRequest()
Get the transportAvailabilityRequest property: Request body to get the transport availability for given sku.
Returns:
validate
public void validate()
Validates the instance.
withDatacenterAddressRequest
public RegionConfigurationRequest withDatacenterAddressRequest(DatacenterAddressRequest datacenterAddressRequest)
Set the datacenterAddressRequest property: Request body to get the datacenter address for given sku.
Parameters:
Returns:
withScheduleAvailabilityRequest
public RegionConfigurationRequest withScheduleAvailabilityRequest(ScheduleAvailabilityRequest scheduleAvailabilityRequest)
Set the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.
Parameters:
Returns:
withTransportAvailabilityRequest
public RegionConfigurationRequest withTransportAvailabilityRequest(TransportAvailabilityRequest transportAvailabilityRequest)
Set the transportAvailabilityRequest property: Request body to get the transport availability for given sku.
Parameters:
Returns: