CacheIdentity Class

  • java.lang.Object
    • com.microsoft.azure.management.storagecache.v2020_03_01.CacheIdentity

public class CacheIdentity

Cache identity properties.

Constructor Summary

Constructor Description
CacheIdentity()

Method Summary

Modifier and Type Method and Description
java.lang.String principalId()

Get the principal id of the cache.

java.lang.String tenantId()

Get the tenant id associated with the cache.

CacheIdentityType type()

Get the type of identity used for the cache.

CacheIdentity withType(CacheIdentityType type)

Set the type of identity used for the cache.

Methods inherited from java.lang.Object

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

Constructor Details

CacheIdentity

public CacheIdentity()

Method Details

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.

Applies to

Azure SDK for Java

Latest