CacheContractInner Class

public final class CacheContractInner
extends ProxyResource

Cache details.

Constructor Summary

Constructor Description
CacheContractInner()

Creates an instance of CacheContractInner class.

Method Summary

Modifier and Type Method and Description
String connectionString()

Get the connectionString property: Runtime connection string to cache.

String description()

Get the description property: Cache description.

String resourceId()

Get the resourceId property: Original uri of entity in external system cache points to.

String useFromLocation()

Get the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).

void validate()

Validates the instance.

CacheContractInner withConnectionString(String connectionString)

Set the connectionString property: Runtime connection string to cache.

CacheContractInner withDescription(String description)

Set the description property: Cache description.

CacheContractInner withResourceId(String resourceId)

Set the resourceId property: Original uri of entity in external system cache points to.

CacheContractInner withUseFromLocation(String useFromLocation)

Set the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CacheContractInner

public CacheContractInner()

Creates an instance of CacheContractInner class.

Method Details

connectionString

public String connectionString()

Get the connectionString property: Runtime connection string to cache.

Returns:

the connectionString value.

description

public String description()

Get the description property: Cache description.

Returns:

the description value.

resourceId

public String resourceId()

Get the resourceId property: Original uri of entity in external system cache points to.

Returns:

the resourceId value.

useFromLocation

public String useFromLocation()

Get the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).

Returns:

the useFromLocation value.

validate

public void validate()

Validates the instance.

withConnectionString

public CacheContractInner withConnectionString(String connectionString)

Set the connectionString property: Runtime connection string to cache.

Parameters:

connectionString - the connectionString value to set.

Returns:

the CacheContractInner object itself.

withDescription

public CacheContractInner withDescription(String description)

Set the description property: Cache description.

Parameters:

description - the description value to set.

Returns:

the CacheContractInner object itself.

withResourceId

public CacheContractInner withResourceId(String resourceId)

Set the resourceId property: Original uri of entity in external system cache points to.

Parameters:

resourceId - the resourceId value to set.

Returns:

the CacheContractInner object itself.

withUseFromLocation

public CacheContractInner withUseFromLocation(String useFromLocation)

Set the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).

Parameters:

useFromLocation - the useFromLocation value to set.

Returns:

the CacheContractInner object itself.

Applies to