Class RestorableMongodbCollectionPropertiesResource
java.lang.Object
com.azure.resourcemanager.cosmos.models.RestorableMongodbCollectionPropertiesResource
The resource of an Azure Cosmos DB MongoDB collection event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RestorableMongodbCollectionPropertiesResource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the canUndelete property: A state of this collection to identify if this container is restorable in same account.Get the canUndeleteReason property: The reason why this collection can not be restored in same account.Get the eventTimestamp property: The time when this collection event happened.Get the operationType property: The operation type of this collection event.ownerId()Get the ownerId property: The name of this MongoDB collection.Get the ownerResourceId property: The resource ID of this MongoDB collection.rid()Get the rid property: A system generated property.voidvalidate()Validates the instance.
-
Constructor Details
-
RestorableMongodbCollectionPropertiesResource
public RestorableMongodbCollectionPropertiesResource()Creates an instance of RestorableMongodbCollectionPropertiesResource class.
-
-
Method Details
-
rid
Get the rid property: A system generated property. A unique identifier.- Returns:
- the rid value.
-
operationType
Get the operationType property: The operation type of this collection event.- Returns:
- the operationType value.
-
canUndelete
Get the canUndelete property: A state of this collection to identify if this container is restorable in same account.- Returns:
- the canUndelete value.
-
canUndeleteReason
Get the canUndeleteReason property: The reason why this collection can not be restored in same account.- Returns:
- the canUndeleteReason value.
-
eventTimestamp
Get the eventTimestamp property: The time when this collection event happened.- Returns:
- the eventTimestamp value.
-
ownerId
Get the ownerId property: The name of this MongoDB collection.- Returns:
- the ownerId value.
-
ownerResourceId
Get the ownerResourceId property: The resource ID of this MongoDB collection.- Returns:
- the ownerResourceId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-