DatabaseMigrationCosmosDbMongoInner Class

public final class DatabaseMigrationCosmosDbMongoInner
extends ProxyResource

Database Migration Resource for Mongo to CosmosDb.

Constructor Summary

Constructor Description
DatabaseMigrationCosmosDbMongoInner()

Creates an instance of DatabaseMigrationCosmosDbMongoInner class.

Method Summary

Modifier and Type Method and Description
static DatabaseMigrationCosmosDbMongoInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseMigrationCosmosDbMongoInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

DatabaseMigrationPropertiesCosmosDbMongo properties()

Get the properties property: Database Migration Resource properties for CosmosDb for Mongo.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DatabaseMigrationCosmosDbMongoInner withProperties(DatabaseMigrationPropertiesCosmosDbMongo properties)

Set the properties property: Database Migration Resource properties for CosmosDb for Mongo.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DatabaseMigrationCosmosDbMongoInner

public DatabaseMigrationCosmosDbMongoInner()

Creates an instance of DatabaseMigrationCosmosDbMongoInner class.

Method Details

fromJson

public static DatabaseMigrationCosmosDbMongoInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseMigrationCosmosDbMongoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatabaseMigrationCosmosDbMongoInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DatabaseMigrationCosmosDbMongoInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DatabaseMigrationCosmosDbMongoInner.name()

Returns:

the name value.

properties

public DatabaseMigrationPropertiesCosmosDbMongo properties()

Get the properties property: Database Migration Resource properties for CosmosDb for Mongo.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DatabaseMigrationCosmosDbMongoInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DatabaseMigrationCosmosDbMongoInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public DatabaseMigrationCosmosDbMongoInner withProperties(DatabaseMigrationPropertiesCosmosDbMongo properties)

Set the properties property: Database Migration Resource properties for CosmosDb for Mongo.

Parameters:

properties - the properties value to set.

Returns:

the DatabaseMigrationCosmosDbMongoInner object itself.

Applies to