Class ServiceCosmosDbConfigurationInfo
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ServiceCosmosDbConfigurationInfo
-
public final class ServiceCosmosDbConfigurationInfo extends Object
The settings for the Cosmos DB database backing the service.
-
-
Constructor Summary
Constructors Constructor Description ServiceCosmosDbConfigurationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
keyVaultKeyUri()
Get the keyVaultKeyUri property: The URI of the customer-managed key for the backing database.Integer
offerThroughput()
Get the offerThroughput property: The provisioned throughput for the backing database.void
validate()
Validates the instance.ServiceCosmosDbConfigurationInfo
withKeyVaultKeyUri(String keyVaultKeyUri)
Set the keyVaultKeyUri property: The URI of the customer-managed key for the backing database.ServiceCosmosDbConfigurationInfo
withOfferThroughput(Integer offerThroughput)
Set the offerThroughput property: The provisioned throughput for the backing database.
-
-
-
Method Detail
-
offerThroughput
public Integer offerThroughput()
Get the offerThroughput property: The provisioned throughput for the backing database.- Returns:
- the offerThroughput value.
-
withOfferThroughput
public ServiceCosmosDbConfigurationInfo withOfferThroughput(Integer offerThroughput)
Set the offerThroughput property: The provisioned throughput for the backing database.- Parameters:
offerThroughput
- the offerThroughput value to set.- Returns:
- the ServiceCosmosDbConfigurationInfo object itself.
-
keyVaultKeyUri
public String keyVaultKeyUri()
Get the keyVaultKeyUri property: The URI of the customer-managed key for the backing database.- Returns:
- the keyVaultKeyUri value.
-
withKeyVaultKeyUri
public ServiceCosmosDbConfigurationInfo withKeyVaultKeyUri(String keyVaultKeyUri)
Set the keyVaultKeyUri property: The URI of the customer-managed key for the backing database.- Parameters:
keyVaultKeyUri
- the keyVaultKeyUri value to set.- Returns:
- the ServiceCosmosDbConfigurationInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-