Share via


RegionConfigurationRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.RegionConfigurationRequest

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 RegionConfigurationRequest class.

Method Summary

Modifier and Type Method and Description
DatacenterAddressRequest datacenterAddressRequest()

Get the datacenterAddressRequest property: Request body to get the datacenter address for given sku.

static RegionConfigurationRequest fromJson(JsonReader jsonReader)

Reads an instance of RegionConfigurationRequest from the JsonReader.

ScheduleAvailabilityRequest scheduleAvailabilityRequest()

Get the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.

JsonWriter toJson(JsonWriter jsonWriter)
TransportAvailabilityRequest transportAvailabilityRequest()

Get the transportAvailabilityRequest property: Request body to get the transport availability for given sku.

void validate()

Validates the instance.

RegionConfigurationRequest withDatacenterAddressRequest(DatacenterAddressRequest datacenterAddressRequest)

Set the datacenterAddressRequest property: Request body to get the datacenter address for given sku.

RegionConfigurationRequest withScheduleAvailabilityRequest(ScheduleAvailabilityRequest scheduleAvailabilityRequest)

Set the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.

RegionConfigurationRequest withTransportAvailabilityRequest(TransportAvailabilityRequest transportAvailabilityRequest)

Set the transportAvailabilityRequest property: Request body to get the transport availability for given sku.

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:

the datacenterAddressRequest value.

fromJson

public static RegionConfigurationRequest fromJson(JsonReader jsonReader)

Reads an instance of RegionConfigurationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RegionConfigurationRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RegionConfigurationRequest.

scheduleAvailabilityRequest

public ScheduleAvailabilityRequest scheduleAvailabilityRequest()

Get the scheduleAvailabilityRequest property: Request body to get the availability for scheduling orders.

Returns:

the scheduleAvailabilityRequest value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transportAvailabilityRequest

public TransportAvailabilityRequest transportAvailabilityRequest()

Get the transportAvailabilityRequest property: Request body to get the transport availability for given sku.

Returns:

the transportAvailabilityRequest value.

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:

datacenterAddressRequest - the datacenterAddressRequest value to set.

Returns:

the RegionConfigurationRequest object itself.

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.

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.

Applies to