RestorableMongodbResourcesGetResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. RestorableMongodbResourcesGetResultInner
- com.
Implements
public final class RestorableMongodbResourcesGetResultInner
implements JsonSerializable<RestorableMongodbResourcesGetResultInner>
Specific Databases to restore.
Constructor Summary
Constructor | Description |
---|---|
RestorableMongodbResourcesGetResultInner() |
Creates an instance of Restorable |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
collectionNames()
Get the collection |
String |
databaseName()
Get the database |
static
Restorable |
fromJson(JsonReader jsonReader)
Reads an instance of Restorable |
String |
id()
Get the id property: The unique resource identifier of the ARM resource. |
String |
name()
Get the name property: The name of the ARM resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of Azure resource. |
void |
validate()
Validates the instance. |
Restorable |
withCollectionNames(List<String> collectionNames)
Set the collection |
Restorable |
withDatabaseName(String databaseName)
Set the database |
Methods inherited from java.lang.Object
Constructor Details
RestorableMongodbResourcesGetResultInner
public RestorableMongodbResourcesGetResultInner()
Creates an instance of RestorableMongodbResourcesGetResultInner class.
Method Details
collectionNames
public List
Get the collectionNames property: The names of the collections available for restore.
Returns:
databaseName
public String databaseName()
Get the databaseName property: The name of the database available for restore.
Returns:
fromJson
public static RestorableMongodbResourcesGetResultInner fromJson(JsonReader jsonReader)
Reads an instance of RestorableMongodbResourcesGetResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The unique resource identifier of the ARM resource.
Returns:
name
public String name()
Get the name property: The name of the ARM resource.
Returns:
toJson
type
public String type()
Get the type property: The type of Azure resource.
Returns:
validate
public void validate()
Validates the instance.
withCollectionNames
public RestorableMongodbResourcesGetResultInner withCollectionNames(List
Set the collectionNames property: The names of the collections available for restore.
Parameters:
Returns:
withDatabaseName
public RestorableMongodbResourcesGetResultInner withDatabaseName(String databaseName)
Set the databaseName property: The name of the database available for restore.
Parameters:
Returns:
Applies to
Azure SDK for Java