MongoDbCommandInput Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. MongoDbCommandInput
- com.
Implements
public class MongoDbCommandInput
implements JsonSerializable<MongoDbCommandInput>
Describes the input to the 'cancel' and 'restart' MongoDB migration commands.
Constructor Summary
| Constructor | Description |
|---|---|
| MongoDbCommandInput() |
Creates an instance of Mongo |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mongo |
fromJson(JsonReader jsonReader)
Reads an instance of Mongo |
| String |
objectName()
Get the object |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Mongo |
withObjectName(String objectName)
Set the object |
Methods inherited from java.lang.Object
Constructor Details
MongoDbCommandInput
public MongoDbCommandInput()
Creates an instance of MongoDbCommandInput class.
Method Details
fromJson
public static MongoDbCommandInput fromJson(JsonReader jsonReader)
Reads an instance of MongoDbCommandInput from the JsonReader.
Parameters:
Returns:
Throws:
objectName
public String objectName()
Get the objectName property: The qualified name of a database or collection to act upon, or null to act upon the entire migration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withObjectName
public MongoDbCommandInput withObjectName(String objectName)
Set the objectName property: The qualified name of a database or collection to act upon, or null to act upon the entire migration.
Parameters:
Returns: