ClusterResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. ClusterResourceInner
- com.
- com.
public final class ClusterResourceInner
extends ProxyResource
Representation of a managed Cassandra cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterResourceInner() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: Identity for the resource. |
| String |
location()
Get the location property: The location of the resource group to which the resource belongs. |
| String |
name()
Get the name property: The name of the resource. |
|
Cluster |
properties()
Get the properties property: Properties of a managed Cassandra cluster. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Tags are a list of key-value pairs that describe the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Cluster |
withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource. |
|
Cluster |
withLocation(String location)
Set the location property: The location of the resource group to which the resource belongs. |
|
Cluster |
withProperties(ClusterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra cluster. |
|
Cluster |
withTags(Map<String,String> tags)
Set the tags property: Tags are a list of key-value pairs that describe the resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ClusterResourceInner
public ClusterResourceInner()
Creates an instance of ClusterResourceInner class.
Method Details
fromJson
public static ClusterResourceInner fromJson(JsonReader jsonReader)
Reads an instance of ClusterResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ClusterResourceInner.id()Returns:
identity
public ManagedCassandraManagedServiceIdentity identity()
Get the identity property: Identity for the resource.
Returns:
location
public String location()
Get the location property: The location of the resource group to which the resource belongs.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ClusterResourceInner.name()Returns:
properties
public ClusterResourceProperties properties()
Get the properties property: Properties of a managed Cassandra cluster.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\".
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClusterResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ClusterResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ClusterResourceInner withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource.
Parameters:
Returns:
withLocation
public ClusterResourceInner withLocation(String location)
Set the location property: The location of the resource group to which the resource belongs.
Parameters:
Returns:
withProperties
public ClusterResourceInner withProperties(ClusterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra cluster.
Parameters:
Returns:
withTags
public ClusterResourceInner withTags(Map<String,String> tags)
Set the tags property: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\".
Parameters:
Returns: