Class MigrationConfigPropertiesProperties
java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.MigrationConfigPropertiesProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MigrationConfigPropertiesProperties>
public final class MigrationConfigPropertiesProperties
extends Object
implements com.azure.json.JsonSerializable<MigrationConfigPropertiesProperties>
Properties required to the Create Migration Configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MigrationConfigPropertiesProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MigrationConfigPropertiesProperties from the JsonReader.Get the migrationState property: State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active.Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.Get the postMigrationName property: Name to access Standard Namespace after migration.Get the provisioningState property: Provisioning state of Migration Configuration.Get the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPostMigrationName(String postMigrationName) Set the postMigrationName property: Name to access Standard Namespace after migration.withTargetNamespace(String targetNamespace) Set the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MigrationConfigPropertiesProperties
public MigrationConfigPropertiesProperties()Creates an instance of MigrationConfigPropertiesProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of Migration Configuration.- Returns:
- the provisioningState value.
-
pendingReplicationOperationsCount
Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.- Returns:
- the pendingReplicationOperationsCount value.
-
targetNamespace
Get the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.- Returns:
- the targetNamespace value.
-
withTargetNamespace
Set the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.- Parameters:
targetNamespace- the targetNamespace value to set.- Returns:
- the MigrationConfigPropertiesProperties object itself.
-
postMigrationName
Get the postMigrationName property: Name to access Standard Namespace after migration.- Returns:
- the postMigrationName value.
-
withPostMigrationName
Set the postMigrationName property: Name to access Standard Namespace after migration.- Parameters:
postMigrationName- the postMigrationName value to set.- Returns:
- the MigrationConfigPropertiesProperties object itself.
-
migrationState
Get the migrationState property: State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active.- Returns:
- the migrationState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MigrationConfigPropertiesProperties>- Throws:
IOException
-
fromJson
public static MigrationConfigPropertiesProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MigrationConfigPropertiesProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of MigrationConfigPropertiesProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the MigrationConfigPropertiesProperties.
-