Placement Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. Placement
- com.
Implements
public final class Placement
implements JsonSerializable<Placement>
The complex type of the zonal placement details.
Constructor Summary
| Constructor | Description |
|---|---|
| Placement() |
Creates an instance of Placement class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Placement |
fromJson(JsonReader jsonReader)
Reads an instance of Placement from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Placement |
withZonePlacementPolicy(ZonePlacementPolicy zonePlacementPolicy)
Set the zone |
|
Zone |
zonePlacementPolicy()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
Placement
public Placement()
Creates an instance of Placement class.
Method Details
fromJson
public static Placement fromJson(JsonReader jsonReader)
Reads an instance of Placement from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withZonePlacementPolicy
public Placement withZonePlacementPolicy(ZonePlacementPolicy zonePlacementPolicy)
Set the zonePlacementPolicy property: The availability zone pinning policy for the storage account.
Parameters:
Returns:
zonePlacementPolicy
public ZonePlacementPolicy zonePlacementPolicy()
Get the zonePlacementPolicy property: The availability zone pinning policy for the storage account.
Returns: