Class RestorableMongodbCollectionGetResultInner
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.RestorableMongodbCollectionGetResultInner
-
public final class RestorableMongodbCollectionGetResultInner extends Object
An Azure Cosmos DB MongoDB collection event.
-
-
Constructor Summary
Constructors Constructor Description RestorableMongodbCollectionGetResultInner()
-
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.RestorableMongodbCollectionPropertiesResourceresource()Get the resource property: The resource of an Azure Cosmos DB MongoDB collection event.Stringtype()Get the type property: The type of Azure resource.voidvalidate()Validates the instance.RestorableMongodbCollectionGetResultInnerwithResource(RestorableMongodbCollectionPropertiesResource resource)Set the resource property: The resource of an Azure Cosmos DB MongoDB collection 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 RestorableMongodbCollectionPropertiesResource resource()
Get the resource property: The resource of an Azure Cosmos DB MongoDB collection event.- Returns:
- the resource value.
-
withResource
public RestorableMongodbCollectionGetResultInner withResource(RestorableMongodbCollectionPropertiesResource resource)
Set the resource property: The resource of an Azure Cosmos DB MongoDB collection event.- Parameters:
resource- the resource value to set.- Returns:
- the RestorableMongodbCollectionGetResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-