Partilhar via


ClusterInner Class

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 ClusterInner class.

Method Summary

Modifier and Type Method and Description
String createdAt()

Get the createdAt property: The UTC time when the Event Hubs Cluster was created.

static ClusterInner fromJson(JsonReader jsonReader)

Reads an instance of ClusterInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String metricId()

Get the metricId property: The metric ID of the cluster resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Cluster.

ClusterSku 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 supportsScaling property: A value that indicates whether Scaling is Supported.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String updatedAt()

Get the updatedAt property: The UTC time when the Event Hubs Cluster was last updated.

void validate()

Validates the instance.

ClusterInner withLocation(String location)
ClusterInner withSku(ClusterSku sku)

Set the sku property: Properties of the cluster SKU.

ClusterInner withSupportsScaling(Boolean supportsScaling)

Set the supportsScaling property: A value that indicates whether Scaling is Supported.

ClusterInner 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:

the createdAt value.

fromJson

public static ClusterInner fromJson(JsonReader jsonReader)

Reads an instance of ClusterInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClusterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ClusterInner.id()

Returns:

the id value.

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:

the metricId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ClusterInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Cluster.

Returns:

the provisioningState value.

sku

public ClusterSku sku()

Get the sku property: Properties of the cluster SKU.

Returns:

the sku value.

status

public String status()

Get the status property: Status of the Cluster resource.

Returns:

the status value.

supportsScaling

public Boolean supportsScaling()

Get the supportsScaling property: A value that indicates whether Scaling is Supported.

Returns:

the supportsScaling value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ClusterInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ClusterInner.type()

Returns:

the type value.

updatedAt

public String updatedAt()

Get the updatedAt property: The UTC time when the Event Hubs Cluster was last updated.

Returns:

the updatedAt value.

validate

public void validate()

Validates the instance.

withLocation

public ClusterInner withLocation(String location)

Overrides:

ClusterInner.withLocation(String location)

Parameters:

location

withSku

public ClusterInner withSku(ClusterSku sku)

Set the sku property: Properties of the cluster SKU.

Parameters:

sku - the sku value to set.

Returns:

the ClusterInner object itself.

withSupportsScaling

public ClusterInner withSupportsScaling(Boolean supportsScaling)

Set the supportsScaling property: A value that indicates whether Scaling is Supported.

Parameters:

supportsScaling - the supportsScaling value to set.

Returns:

the ClusterInner object itself.

withTags

public ClusterInner withTags(Map tags)

Overrides:

ClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to