Class RestorableGremlinGraphPropertiesResource

java.lang.Object
com.azure.resourcemanager.cosmos.models.RestorableGremlinGraphPropertiesResource

public final class RestorableGremlinGraphPropertiesResource extends Object
The resource of an Azure Cosmos DB Gremlin graph event.
  • Constructor Details

    • RestorableGremlinGraphPropertiesResource

      public RestorableGremlinGraphPropertiesResource()
      Creates an instance of RestorableGremlinGraphPropertiesResource class.
  • Method Details

    • rid

      public String rid()
      Get the rid property: A system generated property. A unique identifier.
      Returns:
      the rid value.
    • operationType

      public OperationType operationType()
      Get the operationType property: The operation type of this graph event.
      Returns:
      the operationType value.
    • canUndelete

      public String canUndelete()
      Get the canUndelete property: A state of this graph to identify if this graph is restorable in same account.
      Returns:
      the canUndelete value.
    • canUndeleteReason

      public String canUndeleteReason()
      Get the canUndeleteReason property: The reason why this graph can not be restored in same account.
      Returns:
      the canUndeleteReason value.
    • eventTimestamp

      public String eventTimestamp()
      Get the eventTimestamp property: The time when this graph event happened.
      Returns:
      the eventTimestamp value.
    • ownerId

      public String ownerId()
      Get the ownerId property: The name of this Gremlin graph.
      Returns:
      the ownerId value.
    • ownerResourceId

      public String ownerResourceId()
      Get the ownerResourceId property: The resource ID of this Gremlin graph.
      Returns:
      the ownerResourceId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.