Share via


DatacenterAddressResponse Class

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

Implements

public class DatacenterAddressResponse
implements JsonSerializable<DatacenterAddressResponse>

Datacenter address for given storage location.

Constructor Summary

Constructor Description
DatacenterAddressResponse()

Creates an instance of DatacenterAddressResponse class.

Method Summary

Modifier and Type Method and Description
DatacenterAddressType datacenterAddressType()

Get the datacenterAddressType property: Data center address type.

String dataCenterAzureLocation()

Get the dataCenterAzureLocation property: Azure Location where the Data Center serves primarily.

static DatacenterAddressResponse fromJson(JsonReader jsonReader)

Reads an instance of DatacenterAddressResponse from the JsonReader.

List<String> supportedCarriersForReturnShipment()

Get the supportedCarriersForReturnShipment property: List of supported carriers for return shipment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DatacenterAddressResponse

public DatacenterAddressResponse()

Creates an instance of DatacenterAddressResponse class.

Method Details

datacenterAddressType

public DatacenterAddressType datacenterAddressType()

Get the datacenterAddressType property: Data center address type.

Returns:

the datacenterAddressType value.

dataCenterAzureLocation

public String dataCenterAzureLocation()

Get the dataCenterAzureLocation property: Azure Location where the Data Center serves primarily.

Returns:

the dataCenterAzureLocation value.

fromJson

public static DatacenterAddressResponse fromJson(JsonReader jsonReader)

Reads an instance of DatacenterAddressResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatacenterAddressResponse 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 DatacenterAddressResponse.

supportedCarriersForReturnShipment

public List<String> supportedCarriersForReturnShipment()

Get the supportedCarriersForReturnShipment property: List of supported carriers for return shipment.

Returns:

the supportedCarriersForReturnShipment value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to