CacheContractInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. apimanagement. fluent. models. CacheContractInner
- com.
- com.
public final class CacheContractInner
extends ProxyResource
Cache details.
Constructor Summary
Constructor | Description |
---|---|
CacheContractInner() |
Creates an instance of Cache |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
connectionString()
Get the connection |
String |
description()
Get the description property: Cache description. |
String |
resourceId()
Get the resource |
String |
useFromLocation()
Get the use |
void |
validate()
Validates the instance. |
Cache |
withConnectionString(String connectionString)
Set the connection |
Cache |
withDescription(String description)
Set the description property: Cache description. |
Cache |
withResourceId(String resourceId)
Set the resource |
Cache |
withUseFromLocation(String useFromLocation)
Set the use |
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:
description
public String description()
Get the description property: Cache description.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Original uri of entity in external system cache points to.
Returns:
useFromLocation
public String useFromLocation()
Get the useFromLocation property: Location identifier to use cache from (should be either 'default' or valid Azure region identifier).
Returns:
validate
public void validate()
Validates the instance.
withConnectionString
public CacheContractInner withConnectionString(String connectionString)
Set the connectionString property: Runtime connection string to cache.
Parameters:
Returns:
withDescription
public CacheContractInner withDescription(String description)
Set the description property: Cache description.
Parameters:
Returns:
withResourceId
public CacheContractInner withResourceId(String resourceId)
Set the resourceId property: Original uri of entity in external system cache points to.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for