DataCenterResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. DataCenterResourceInner
- com.
- com.
public final class DataCenterResourceInner
extends ProxyResource
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. |
|
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. |
|
Data |
withProperties(DataCenterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra data center. |
Methods inherited from ProxyResource
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:
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:
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.
withProperties
public DataCenterResourceInner withProperties(DataCenterResourceProperties properties)
Set the properties property: Properties of a managed Cassandra data center.
Parameters:
Returns: