Class CacheProperties
java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.CacheProperties
Properties of the Cache.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cacheSizeGB property: The size of this Cache, in GB.Get the directoryServicesSettings property: Specifies Directory Services settings of the cache.Get the encryptionSettings property: Specifies encryption settings of the cache.health()
Get the health property: Health of the Cache.Get the mountAddresses property: Array of IP addresses that can be used by clients mounting this Cache.Get the networkSettings property: Specifies network settings of the cache.Get the primingJobs property: Specifies the priming jobs defined in the cache.Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.Get the securitySettings property: Specifies security settings of the cache.Get the spaceAllocation property: Specifies the space allocation percentage for each storage target in the cache.subnet()
Get the subnet property: Subnet used for the Cache.Get the upgradeSettings property: Upgrade settings of the Cache.Get the upgradeStatus property: Upgrade status of the Cache.void
validate()
Validates the instance.withCacheSizeGB
(Integer cacheSizeGB) Set the cacheSizeGB property: The size of this Cache, in GB.withDirectoryServicesSettings
(CacheDirectorySettings directoryServicesSettings) Set the directoryServicesSettings property: Specifies Directory Services settings of the cache.withEncryptionSettings
(CacheEncryptionSettings encryptionSettings) Set the encryptionSettings property: Specifies encryption settings of the cache.withNetworkSettings
(CacheNetworkSettings networkSettings) Set the networkSettings property: Specifies network settings of the cache.withSecuritySettings
(CacheSecuritySettings securitySettings) Set the securitySettings property: Specifies security settings of the cache.withSubnet
(String subnet) Set the subnet property: Subnet used for the Cache.withUpgradeSettings
(CacheUpgradeSettings upgradeSettings) Set the upgradeSettings property: Upgrade settings of the Cache.Set the zones property: Availability zones for resources.zones()
Get the zones property: Availability zones for resources.
-
Constructor Details
-
CacheProperties
public CacheProperties()
-
-
Method Details
-
cacheSizeGB
Get the cacheSizeGB property: The size of this Cache, in GB.- Returns:
- the cacheSizeGB value.
-
withCacheSizeGB
Set the cacheSizeGB property: The size of this Cache, in GB.- Parameters:
cacheSizeGB
- the cacheSizeGB value to set.- Returns:
- the CacheProperties object itself.
-
health
Get the health property: Health of the Cache.- Returns:
- the health value.
-
mountAddresses
Get the mountAddresses property: Array of IP addresses that can be used by clients mounting this Cache.- Returns:
- the mountAddresses value.
-
provisioningState
Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.- Returns:
- the provisioningState value.
-
subnet
Get the subnet property: Subnet used for the Cache.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: Subnet used for the Cache.- Parameters:
subnet
- the subnet value to set.- Returns:
- the CacheProperties object itself.
-
upgradeStatus
Get the upgradeStatus property: Upgrade status of the Cache.- Returns:
- the upgradeStatus value.
-
upgradeSettings
Get the upgradeSettings property: Upgrade settings of the Cache.- Returns:
- the upgradeSettings value.
-
withUpgradeSettings
Set the upgradeSettings property: Upgrade settings of the Cache.- Parameters:
upgradeSettings
- the upgradeSettings value to set.- Returns:
- the CacheProperties object itself.
-
networkSettings
Get the networkSettings property: Specifies network settings of the cache.- Returns:
- the networkSettings value.
-
withNetworkSettings
Set the networkSettings property: Specifies network settings of the cache.- Parameters:
networkSettings
- the networkSettings value to set.- Returns:
- the CacheProperties object itself.
-
encryptionSettings
Get the encryptionSettings property: Specifies encryption settings of the cache.- Returns:
- the encryptionSettings value.
-
withEncryptionSettings
Set the encryptionSettings property: Specifies encryption settings of the cache.- Parameters:
encryptionSettings
- the encryptionSettings value to set.- Returns:
- the CacheProperties object itself.
-
securitySettings
Get the securitySettings property: Specifies security settings of the cache.- Returns:
- the securitySettings value.
-
withSecuritySettings
Set the securitySettings property: Specifies security settings of the cache.- Parameters:
securitySettings
- the securitySettings value to set.- Returns:
- the CacheProperties object itself.
-
directoryServicesSettings
Get the directoryServicesSettings property: Specifies Directory Services settings of the cache.- Returns:
- the directoryServicesSettings value.
-
withDirectoryServicesSettings
public CacheProperties withDirectoryServicesSettings(CacheDirectorySettings directoryServicesSettings) Set the directoryServicesSettings property: Specifies Directory Services settings of the cache.- Parameters:
directoryServicesSettings
- the directoryServicesSettings value to set.- Returns:
- the CacheProperties object itself.
-
zones
Get the zones property: Availability zones for resources. This field should only contain a single element in the array.- Returns:
- the zones value.
-
withZones
Set the zones property: Availability zones for resources. This field should only contain a single element in the array.- Parameters:
zones
- the zones value to set.- Returns:
- the CacheProperties object itself.
-
primingJobs
Get the primingJobs property: Specifies the priming jobs defined in the cache.- Returns:
- the primingJobs value.
-
spaceAllocation
Get the spaceAllocation property: Specifies the space allocation percentage for each storage target in the cache.- Returns:
- the spaceAllocation value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-