Class RestorableSqlContainerPropertiesResource
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.RestorableSqlContainerPropertiesResource
-
public final class RestorableSqlContainerPropertiesResource extends Object
The resource of an Azure Cosmos DB SQL container event.
-
-
Constructor Summary
Constructors Constructor Description RestorableSqlContainerPropertiesResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestorableSqlContainerPropertiesResourceContainercontainer()Get the container property: Cosmos DB SQL container resource object.StringeventTimestamp()Get the eventTimestamp property: The when this container event happened.OperationTypeoperationType()Get the operationType property: The operation type of this container event.StringownerId()Get the ownerId property: The name of this SQL container.StringownerResourceId()Get the ownerResourceId property: The resource ID of this SQL container.Stringrid()Get the rid property: A system generated property.voidvalidate()Validates the instance.RestorableSqlContainerPropertiesResourcewithContainer(RestorableSqlContainerPropertiesResourceContainer container)Set the container property: Cosmos DB SQL container resource object.
-
-
-
Method Detail
-
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 container event.- Returns:
- the operationType value.
-
eventTimestamp
public String eventTimestamp()
Get the eventTimestamp property: The when this container event happened.- Returns:
- the eventTimestamp value.
-
ownerId
public String ownerId()
Get the ownerId property: The name of this SQL container.- Returns:
- the ownerId value.
-
ownerResourceId
public String ownerResourceId()
Get the ownerResourceId property: The resource ID of this SQL container.- Returns:
- the ownerResourceId value.
-
container
public RestorableSqlContainerPropertiesResourceContainer container()
Get the container property: Cosmos DB SQL container resource object.- Returns:
- the container value.
-
withContainer
public RestorableSqlContainerPropertiesResource withContainer(RestorableSqlContainerPropertiesResourceContainer container)
Set the container property: Cosmos DB SQL container resource object.- Parameters:
container- the container value to set.- Returns:
- the RestorableSqlContainerPropertiesResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-