DatacenterAddressRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. DatacenterAddressRequest
- com.
Implements
public final class DatacenterAddressRequest
implements JsonSerializable<DatacenterAddressRequest>
Request body to get the datacenter address.
Constructor Summary
| Constructor | Description |
|---|---|
| DatacenterAddressRequest() |
Creates an instance of Datacenter |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Datacenter |
fromJson(JsonReader jsonReader)
Reads an instance of Datacenter |
|
Sku |
skuName()
Get the sku |
| String |
storageLocation()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Datacenter |
withSkuName(SkuName skuName)
Set the sku |
|
Datacenter |
withStorageLocation(String storageLocation)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
DatacenterAddressRequest
public DatacenterAddressRequest()
Creates an instance of DatacenterAddressRequest class.
Method Details
fromJson
public static DatacenterAddressRequest fromJson(JsonReader jsonReader)
Reads an instance of DatacenterAddressRequest from the JsonReader.
Parameters:
Returns:
Throws:
skuName
public SkuName skuName()
Get the skuName property: Sku Name for which the data center address requested.
Returns:
storageLocation
public String storageLocation()
Get the storageLocation property: Storage location. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSkuName
public DatacenterAddressRequest withSkuName(SkuName skuName)
Set the skuName property: Sku Name for which the data center address requested.
Parameters:
Returns:
withStorageLocation
public DatacenterAddressRequest withStorageLocation(String storageLocation)
Set the storageLocation property: Storage location. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01.
Parameters:
Returns: