ClusterResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ManagedCassandraArmResourceProperties - com.
azure. resourcemanager. cosmos. fluent. models. ClusterResourceInner
- com.
- com.
- com.
- com.
public final class ClusterResourceInner
extends ManagedCassandraArmResourceProperties
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. |
String |
name()
Get the name property: The name of the resource. |
Cluster |
properties()
Get the properties property: Properties of a managed Cassandra cluster. |
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) |
Cluster |
withProperties(ClusterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra cluster. |
Cluster |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ManagedCassandraArmResourceProperties
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:
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:
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.
Overrides:
ClusterResourceInner.validate()withIdentity
public ClusterResourceInner withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource.
Overrides:
ClusterResourceInner.withIdentity(ManagedCassandraManagedServiceIdentity identity)Parameters:
withLocation
public ClusterResourceInner withLocation(String location)
Overrides:
ClusterResourceInner.withLocation(String location)Parameters:
withProperties
public ClusterResourceInner withProperties(ClusterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra cluster.
Parameters:
Returns:
withTags
public ClusterResourceInner withTags(Map
Overrides:
ClusterResourceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java