Class ClusterInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.eventhubs.fluent.models.ClusterInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ClusterInner
extends com.azure.core.management.Resource
Single Event Hubs Cluster resource in List or Get operations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: The UTC time when the Event Hubs Cluster was created.metricId()
Get the metricId property: The metric ID of the cluster resource.sku()
Get the sku property: Properties of the cluster SKU.status()
Get the status property: Status of the Cluster resource.com.azure.core.management.SystemData
Get the systemData property: The system meta data relating to this resource.Get the updatedAt property: The UTC time when the Event Hubs Cluster was last updated.void
validate()
Validates the instance.withLocation
(String location) withSku
(ClusterSku sku) Set the sku property: Properties of the cluster SKU.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJson
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ClusterInner
public ClusterInner()
-
-
Method Details
-
sku
Get the sku property: Properties of the cluster SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Properties of the cluster SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the ClusterInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
createdAt
Get the createdAt property: The UTC time when the Event Hubs Cluster was created.- Returns:
- the createdAt value.
-
updatedAt
Get the updatedAt property: The UTC time when the Event Hubs Cluster was last updated.- Returns:
- the updatedAt value.
-
metricId
Get the metricId property: The metric ID of the cluster resource. Provided by the service and not modifiable by the user.- Returns:
- the metricId value.
-
status
Get the status property: Status of the Cluster resource.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-