Share via


ClusterSpecEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.ClusterSpecEntity

Implements

public final class ClusterSpecEntity
implements JsonSerializable<ClusterSpecEntity>

Spec of the cluster record.

Constructor Summary

Constructor Description
ClusterSpecEntity()

Creates an instance of ClusterSpecEntity class.

Method Summary

Modifier and Type Method and Description
String apiEndpoint()

Get the apiEndpoint property: The Kafka API cluster endpoint.

String availability()

Get the availability property: The availability zone configuration of the cluster.

ClusterByokEntity byok()

Get the byok property: Specification of the cluster.

String cloud()

Get the cloud property: The cloud service provider.

ClusterConfigEntity config()

Get the config property: Specification of the cluster.

String displayName()

Get the displayName property: The name of the cluster.

ClusterEnvironmentEntity environment()

Get the environment property: Specification of the cluster.

static ClusterSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterSpecEntity from the JsonReader.

String httpEndpoint()

Get the httpEndpoint property: The cluster HTTP request URL.

String kafkaBootstrapEndpoint()

Get the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.

ClusterNetworkEntity network()

Get the network property: Specification of the cluster.

String region()

Get the region property: The cloud service provider region.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ClusterSpecEntity withApiEndpoint(String apiEndpoint)

Set the apiEndpoint property: The Kafka API cluster endpoint.

ClusterSpecEntity withAvailability(String availability)

Set the availability property: The availability zone configuration of the cluster.

ClusterSpecEntity withByok(ClusterByokEntity byok)

Set the byok property: Specification of the cluster.

ClusterSpecEntity withCloud(String cloud)

Set the cloud property: The cloud service provider.

ClusterSpecEntity withConfig(ClusterConfigEntity config)

Set the config property: Specification of the cluster.

ClusterSpecEntity withDisplayName(String displayName)

Set the displayName property: The name of the cluster.

ClusterSpecEntity withEnvironment(ClusterEnvironmentEntity environment)

Set the environment property: Specification of the cluster.

ClusterSpecEntity withHttpEndpoint(String httpEndpoint)

Set the httpEndpoint property: The cluster HTTP request URL.

ClusterSpecEntity withKafkaBootstrapEndpoint(String kafkaBootstrapEndpoint)

Set the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.

ClusterSpecEntity withNetwork(ClusterNetworkEntity network)

Set the network property: Specification of the cluster.

ClusterSpecEntity withRegion(String region)

Set the region property: The cloud service provider region.

ClusterSpecEntity withZone(String zone)

Set the zone property: type of zone availability.

String zone()

Get the zone property: type of zone availability.

Methods inherited from java.lang.Object

Constructor Details

ClusterSpecEntity

public ClusterSpecEntity()

Creates an instance of ClusterSpecEntity class.

Method Details

apiEndpoint

public String apiEndpoint()

Get the apiEndpoint property: The Kafka API cluster endpoint.

Returns:

the apiEndpoint value.

availability

public String availability()

Get the availability property: The availability zone configuration of the cluster.

Returns:

the availability value.

byok

public ClusterByokEntity byok()

Get the byok property: Specification of the cluster.

Returns:

the byok value.

cloud

public String cloud()

Get the cloud property: The cloud service provider.

Returns:

the cloud value.

config

public ClusterConfigEntity config()

Get the config property: Specification of the cluster.

Returns:

the config value.

displayName

public String displayName()

Get the displayName property: The name of the cluster.

Returns:

the displayName value.

environment

public ClusterEnvironmentEntity environment()

Get the environment property: Specification of the cluster.

Returns:

the environment value.

fromJson

public static ClusterSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterSpecEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ClusterSpecEntity.

httpEndpoint

public String httpEndpoint()

Get the httpEndpoint property: The cluster HTTP request URL.

Returns:

the httpEndpoint value.

kafkaBootstrapEndpoint

public String kafkaBootstrapEndpoint()

Get the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.

Returns:

the kafkaBootstrapEndpoint value.

network

public ClusterNetworkEntity network()

Get the network property: Specification of the cluster.

Returns:

the network value.

region

public String region()

Get the region property: The cloud service provider region.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApiEndpoint

public ClusterSpecEntity withApiEndpoint(String apiEndpoint)

Set the apiEndpoint property: The Kafka API cluster endpoint.

Parameters:

apiEndpoint - the apiEndpoint value to set.

Returns:

the ClusterSpecEntity object itself.

withAvailability

public ClusterSpecEntity withAvailability(String availability)

Set the availability property: The availability zone configuration of the cluster.

Parameters:

availability - the availability value to set.

Returns:

the ClusterSpecEntity object itself.

withByok

public ClusterSpecEntity withByok(ClusterByokEntity byok)

Set the byok property: Specification of the cluster.

Parameters:

byok - the byok value to set.

Returns:

the ClusterSpecEntity object itself.

withCloud

public ClusterSpecEntity withCloud(String cloud)

Set the cloud property: The cloud service provider.

Parameters:

cloud - the cloud value to set.

Returns:

the ClusterSpecEntity object itself.

withConfig

public ClusterSpecEntity withConfig(ClusterConfigEntity config)

Set the config property: Specification of the cluster.

Parameters:

config - the config value to set.

Returns:

the ClusterSpecEntity object itself.

withDisplayName

public ClusterSpecEntity withDisplayName(String displayName)

Set the displayName property: The name of the cluster.

Parameters:

displayName - the displayName value to set.

Returns:

the ClusterSpecEntity object itself.

withEnvironment

public ClusterSpecEntity withEnvironment(ClusterEnvironmentEntity environment)

Set the environment property: Specification of the cluster.

Parameters:

environment - the environment value to set.

Returns:

the ClusterSpecEntity object itself.

withHttpEndpoint

public ClusterSpecEntity withHttpEndpoint(String httpEndpoint)

Set the httpEndpoint property: The cluster HTTP request URL.

Parameters:

httpEndpoint - the httpEndpoint value to set.

Returns:

the ClusterSpecEntity object itself.

withKafkaBootstrapEndpoint

public ClusterSpecEntity withKafkaBootstrapEndpoint(String kafkaBootstrapEndpoint)

Set the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.

Parameters:

kafkaBootstrapEndpoint - the kafkaBootstrapEndpoint value to set.

Returns:

the ClusterSpecEntity object itself.

withNetwork

public ClusterSpecEntity withNetwork(ClusterNetworkEntity network)

Set the network property: Specification of the cluster.

Parameters:

network - the network value to set.

Returns:

the ClusterSpecEntity object itself.

withRegion

public ClusterSpecEntity withRegion(String region)

Set the region property: The cloud service provider region.

Parameters:

region - the region value to set.

Returns:

the ClusterSpecEntity object itself.

withZone

public ClusterSpecEntity withZone(String zone)

Set the zone property: type of zone availability.

Parameters:

zone - the zone value to set.

Returns:

the ClusterSpecEntity object itself.

zone

public String zone()

Get the zone property: type of zone availability.

Returns:

the zone value.

Applies to