ClusterInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. eventhubs. fluent. models. ClusterInner
- com.
- com.
- com.
public final class ClusterInner
extends Resource
Single Event Hubs Cluster resource in List or Get operations.
Constructor Summary
Constructor | Description |
---|---|
ClusterInner() |
Creates an instance of Cluster |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
createdAt()
Get the created |
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
metricId()
Get the metric |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Cluster |
sku()
Get the sku property: Properties of the cluster SKU. |
String |
status()
Get the status property: Status of the Cluster resource. |
Boolean |
supportsScaling()
Get the supports |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
String |
updatedAt()
Get the updated |
void |
validate()
Validates the instance. |
Cluster |
withLocation(String location) |
Cluster |
withSku(ClusterSku sku)
Set the sku property: Properties of the cluster SKU. |
Cluster |
withSupportsScaling(Boolean supportsScaling)
Set the supports |
Cluster |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ClusterInner
public ClusterInner()
Creates an instance of ClusterInner class.
Method Details
createdAt
public String createdAt()
Get the createdAt property: The UTC time when the Event Hubs Cluster was created.
Returns:
fromJson
public static ClusterInner fromJson(JsonReader jsonReader)
Reads an instance of ClusterInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ClusterInner.id()Returns:
metricId
public String metricId()
Get the metricId property: The metric ID of the cluster resource. Provided by the service and not modifiable by the user.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ClusterInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Cluster.
Returns:
sku
public ClusterSku sku()
Get the sku property: Properties of the cluster SKU.
Returns:
status
public String status()
Get the status property: Status of the Cluster resource.
Returns:
supportsScaling
public Boolean supportsScaling()
Get the supportsScaling property: A value that indicates whether Scaling is Supported.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClusterInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ClusterInner.type()Returns:
updatedAt
public String updatedAt()
Get the updatedAt property: The UTC time when the Event Hubs Cluster was last updated.
Returns:
validate
public void validate()
Validates the instance.
withLocation
public ClusterInner withLocation(String location)
Overrides:
ClusterInner.withLocation(String location)Parameters:
withSku
public ClusterInner withSku(ClusterSku sku)
Set the sku property: Properties of the cluster SKU.
Parameters:
Returns:
withSupportsScaling
public ClusterInner withSupportsScaling(Boolean supportsScaling)
Set the supportsScaling property: A value that indicates whether Scaling is Supported.
Parameters:
Returns:
withTags
public ClusterInner withTags(Map
Overrides:
ClusterInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java