CacheIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. storagecache. v2020_03_01.CacheIdentity
- com.
public class CacheIdentity
Cache identity properties.
Constructor | Description | |
---|---|---|
Cache |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
principal Get the principal id of the cache. |
java.lang.String |
tenant Get the tenant id associated with the cache. |
Cache |
type()
Get the type of identity used for the cache. |
Cache |
with Set the type of identity used for the cache. |
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
CacheIdentity
public CacheIdentity()
principalId
public String principalId()
Get the principal id of the cache.
Returns:
the principalId value
tenantId
public String tenantId()
Get the tenant id associated with the cache.
Returns:
the tenantId value
type
public CacheIdentityType type()
Get the type of identity used for the cache. Possible values include: 'SystemAssigned', 'None'.
Returns:
the type value
withType
public CacheIdentity withType(CacheIdentityType type)
Set the type of identity used for the cache. Possible values include: 'SystemAssigned', 'None'.
Parameters:
type
- the type value to set
Returns:
the CacheIdentity object itself.