MoveCollectionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. MoveCollectionProperties
- com.
Implements
public final class MoveCollectionProperties
implements JsonSerializable<MoveCollectionProperties>
Defines the move collection properties.
Constructor Summary
| Constructor | Description |
|---|---|
| MoveCollectionProperties() |
Creates an instance of Move |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Move |
errors()
Get the errors property: Defines the move collection errors. |
|
static
Move |
fromJson(JsonReader jsonReader)
Reads an instance of Move |
| String |
moveRegion()
Get the move |
|
Move |
moveType()
Get the move |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
sourceRegion()
Get the source |
| String |
targetRegion()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Gets or sets the version of move collection. |
|
Move |
withMoveRegion(String moveRegion)
Set the move |
|
Move |
withMoveType(MoveType moveType)
Set the move |
|
Move |
withSourceRegion(String sourceRegion)
Set the source |
|
Move |
withTargetRegion(String targetRegion)
Set the target |
|
Move |
withVersion(String version)
Set the version property: Gets or sets the version of move collection. |
Methods inherited from java.lang.Object
Constructor Details
MoveCollectionProperties
public MoveCollectionProperties()
Creates an instance of MoveCollectionProperties class.
Method Details
errors
public MoveCollectionPropertiesErrors errors()
Get the errors property: Defines the move collection errors.
Returns:
fromJson
public static MoveCollectionProperties fromJson(JsonReader jsonReader)
Reads an instance of MoveCollectionProperties from the JsonReader.
Parameters:
Returns:
Throws:
moveRegion
public String moveRegion()
Get the moveRegion property: Gets or sets the move region which indicates the region where the VM Regional to Zonal move will be conducted.
Returns:
moveType
public MoveType moveType()
Get the moveType property: Defines the MoveType.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Defines the provisioning states.
Returns:
sourceRegion
public String sourceRegion()
Get the sourceRegion property: Gets or sets the source region.
Returns:
targetRegion
public String targetRegion()
Get the targetRegion property: Gets or sets the target region.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Gets or sets the version of move collection.
Returns:
withMoveRegion
public MoveCollectionProperties withMoveRegion(String moveRegion)
Set the moveRegion property: Gets or sets the move region which indicates the region where the VM Regional to Zonal move will be conducted.
Parameters:
Returns:
withMoveType
public MoveCollectionProperties withMoveType(MoveType moveType)
Set the moveType property: Defines the MoveType.
Parameters:
Returns:
withSourceRegion
public MoveCollectionProperties withSourceRegion(String sourceRegion)
Set the sourceRegion property: Gets or sets the source region.
Parameters:
Returns:
withTargetRegion
public MoveCollectionProperties withTargetRegion(String targetRegion)
Set the targetRegion property: Gets or sets the target region.
Parameters:
Returns:
withVersion
public MoveCollectionProperties withVersion(String version)
Set the version property: Gets or sets the version of move collection.
Parameters:
Returns: