DataCenterResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. models. ArmProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. DataCenterResourceInner
- com.
- com.
- com.
public final class DataCenterResourceInner
extends ArmProxyResource
A managed Cassandra data center.
Constructor Summary
Constructor | Description |
---|---|
DataCenterResourceInner() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Data |
properties()
Get the properties property: Properties of a managed Cassandra data center. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Data |
withProperties(DataCenterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra data center. |
Methods inherited from ArmProxyResource
Methods inherited from java.lang.Object
Constructor Details
DataCenterResourceInner
public DataCenterResourceInner()
Creates an instance of DataCenterResourceInner class.
Method Details
fromJson
public static DataCenterResourceInner fromJson(JsonReader jsonReader)
Reads an instance of DataCenterResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DataCenterResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DataCenterResourceInner.name()Returns:
properties
public DataCenterResourceProperties properties()
Get the properties property: Properties of a managed Cassandra data center.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataCenterResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DataCenterResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DataCenterResourceInner.validate()withProperties
public DataCenterResourceInner withProperties(DataCenterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra data center.
Parameters:
Returns:
Applies to
Azure SDK for Java