RestorableMongodbDatabaseGetResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. RestorableMongodbDatabaseGetResultInner
- com.
Implements
public final class RestorableMongodbDatabaseGetResultInner
implements JsonSerializable<RestorableMongodbDatabaseGetResultInner>
An Azure Cosmos DB MongoDB database event.
Constructor Summary
Constructor | Description |
---|---|
RestorableMongodbDatabaseGetResultInner() |
Creates an instance of Restorable |
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
Restorable |
resource()
Get the resource property: The resource of an Azure Cosmos DB MongoDB database event. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of Azure resource. |
void |
validate()
Validates the instance. |
Restorable |
withResource(RestorableMongodbDatabasePropertiesResource resource)
Set the resource property: The resource of an Azure Cosmos DB MongoDB database event. |
Methods inherited from java.lang.Object
Constructor Details
RestorableMongodbDatabaseGetResultInner
public RestorableMongodbDatabaseGetResultInner()
Creates an instance of RestorableMongodbDatabaseGetResultInner class.
Method Details
fromJson
public static RestorableMongodbDatabaseGetResultInner fromJson(JsonReader jsonReader)
Reads an instance of RestorableMongodbDatabaseGetResultInner 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:
resource
public RestorableMongodbDatabasePropertiesResource resource()
Get the resource property: The resource of an Azure Cosmos DB MongoDB database event.
Returns:
toJson
type
public String type()
Get the type property: The type of Azure resource.
Returns:
validate
public void validate()
Validates the instance.
withResource
public RestorableMongodbDatabaseGetResultInner withResource(RestorableMongodbDatabasePropertiesResource resource)
Set the resource property: The resource of an Azure Cosmos DB MongoDB database event.
Parameters:
Returns:
Applies to
Azure SDK for Java