ContextCacheInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. storage. fluent. models. ContextCacheInner
- com.
- com.
- com.
public final class ContextCacheInner
extends Resource
A Context Cache resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ContextCacheInner() |
Creates an instance of Context |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Context |
fromJson(JsonReader jsonReader)
Reads an instance of Context |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Identity |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Context |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Context |
withIdentity(Identity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Context |
withLocation(String location) |
|
Context |
withProperties(ContextCacheProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Context |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ContextCacheInner
public ContextCacheInner()
Creates an instance of ContextCacheInner class.
Method Details
fromJson
public static ContextCacheInner fromJson(JsonReader jsonReader)
Reads an instance of ContextCacheInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ContextCacheInner.id()Returns:
identity
public Identity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ContextCacheInner.name()Returns:
properties
public ContextCacheProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContextCacheInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ContextCacheInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ContextCacheInner withIdentity(Identity identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withLocation
public ContextCacheInner withLocation(String location)
Overrides:
ContextCacheInner.withLocation(String location)Parameters:
withProperties
public ContextCacheInner withProperties(ContextCacheProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public ContextCacheInner withTags(Map<String,String> tags)
Overrides:
ContextCacheInner.withTags(Map<String,String> tags)Parameters: