Class RestorableMongodbDatabaseGetResultInner
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.RestorableMongodbDatabaseGetResultInner
-
public final class RestorableMongodbDatabaseGetResultInner extends Object
An Azure Cosmos DB MongoDB database event.
-
-
Constructor Summary
Constructors Constructor Description RestorableMongodbDatabaseGetResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The unique resource Identifier of the ARM resource.Stringname()Get the name property: The name of the ARM resource.RestorableMongodbDatabasePropertiesResourceresource()Get the resource property: The resource of an Azure Cosmos DB MongoDB database event.Stringtype()Get the type property: The type of Azure resource.voidvalidate()Validates the instance.RestorableMongodbDatabaseGetResultInnerwithResource(RestorableMongodbDatabasePropertiesResource resource)Set the resource property: The resource of an Azure Cosmos DB MongoDB database event.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The unique resource Identifier of the ARM resource.- Returns:
- the id value.
-
name
public String name()
Get the name property: The name of the ARM resource.- Returns:
- the name value.
-
type
public String type()
Get the type property: The type of Azure resource.- Returns:
- the type value.
-
resource
public RestorableMongodbDatabasePropertiesResource resource()
Get the resource property: The resource of an Azure Cosmos DB MongoDB database event.- Returns:
- the resource value.
-
withResource
public RestorableMongodbDatabaseGetResultInner withResource(RestorableMongodbDatabasePropertiesResource resource)
Set the resource property: The resource of an Azure Cosmos DB MongoDB database event.- Parameters:
resource- the resource value to set.- Returns:
- the RestorableMongodbDatabaseGetResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-