CanMigrateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. CanMigrateProperties
- com.
Implements
public final class CanMigrateProperties
implements JsonSerializable<CanMigrateProperties>
The CanMigrateProperties model.
Constructor Summary
| Constructor | Description |
|---|---|
| CanMigrateProperties() |
Creates an instance of Can |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
canMigrate()
Get the can |
|
Can |
defaultSku()
Get the default |
|
List<Migration |
errors()
Get the errors property: The errors property. |
|
static
Can |
fromJson(JsonReader jsonReader)
Reads an instance of Can |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Can |
withErrors(List<MigrationErrorType> errors)
Set the errors property: The errors property. |
Methods inherited from java.lang.Object
Constructor Details
CanMigrateProperties
public CanMigrateProperties()
Creates an instance of CanMigrateProperties class.
Method Details
canMigrate
public Boolean canMigrate()
Get the canMigrate property: Flag that says if the profile can be migrated.
Returns:
defaultSku
public CanMigrateDefaultSku defaultSku()
Get the defaultSku property: Recommended sku for the migration.
Returns:
errors
public List<MigrationErrorType> errors()
Get the errors property: The errors property.
Returns:
fromJson
public static CanMigrateProperties fromJson(JsonReader jsonReader)
Reads an instance of CanMigrateProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withErrors
public CanMigrateProperties withErrors(List<MigrationErrorType> errors)
Set the errors property: The errors property.
Parameters:
Returns: