ClusterSpecEntity Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. ClusterSpecEntity
- com.
Implements
public final class ClusterSpecEntity
implements JsonSerializable<ClusterSpecEntity>
Spec of the cluster record.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterSpecEntity() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
apiEndpoint()
Get the api |
| String |
availability()
Get the availability property: The availability zone configuration of the cluster. |
|
Cluster |
byok()
Get the byok property: Specification of the cluster. |
| String |
cloud()
Get the cloud property: The cloud service provider. |
|
Cluster |
config()
Get the config property: Specification of the cluster. |
| String |
displayName()
Get the display |
|
Cluster |
environment()
Get the environment property: Specification of the cluster. |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
httpEndpoint()
Get the http |
| String |
kafkaBootstrapEndpoint()
Get the kafka |
|
Cluster |
network()
Get the network property: Specification of the cluster. |
| String |
region()
Get the region property: The cloud service provider region. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cluster |
withApiEndpoint(String apiEndpoint)
Set the api |
|
Cluster |
withAvailability(String availability)
Set the availability property: The availability zone configuration of the cluster. |
|
Cluster |
withByok(ClusterByokEntity byok)
Set the byok property: Specification of the cluster. |
|
Cluster |
withCloud(String cloud)
Set the cloud property: The cloud service provider. |
|
Cluster |
withConfig(ClusterConfigEntity config)
Set the config property: Specification of the cluster. |
|
Cluster |
withDisplayName(String displayName)
Set the display |
|
Cluster |
withEnvironment(ClusterEnvironmentEntity environment)
Set the environment property: Specification of the cluster. |
|
Cluster |
withHttpEndpoint(String httpEndpoint)
Set the http |
|
Cluster |
withKafkaBootstrapEndpoint(String kafkaBootstrapEndpoint)
Set the kafka |
|
Cluster |
withNetwork(ClusterNetworkEntity network)
Set the network property: Specification of the cluster. |
|
Cluster |
withRegion(String region)
Set the region property: The cloud service provider region. |
|
Cluster |
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:
availability
public String availability()
Get the availability property: The availability zone configuration of the cluster.
Returns:
byok
public ClusterByokEntity byok()
Get the byok property: Specification of the cluster.
Returns:
cloud
public String cloud()
Get the cloud property: The cloud service provider.
Returns:
config
public ClusterConfigEntity config()
Get the config property: Specification of the cluster.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the cluster.
Returns:
environment
public ClusterEnvironmentEntity environment()
Get the environment property: Specification of the cluster.
Returns:
fromJson
public static ClusterSpecEntity fromJson(JsonReader jsonReader)
Reads an instance of ClusterSpecEntity from the JsonReader.
Parameters:
Returns:
Throws:
httpEndpoint
public String httpEndpoint()
Get the httpEndpoint property: The cluster HTTP request URL.
Returns:
kafkaBootstrapEndpoint
public String kafkaBootstrapEndpoint()
Get the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.
Returns:
network
public ClusterNetworkEntity network()
Get the network property: Specification of the cluster.
Returns:
region
public String region()
Get the region property: The cloud service provider region.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApiEndpoint
public ClusterSpecEntity withApiEndpoint(String apiEndpoint)
Set the apiEndpoint property: The Kafka API cluster endpoint.
Parameters:
Returns:
withAvailability
public ClusterSpecEntity withAvailability(String availability)
Set the availability property: The availability zone configuration of the cluster.
Parameters:
Returns:
withByok
public ClusterSpecEntity withByok(ClusterByokEntity byok)
Set the byok property: Specification of the cluster.
Parameters:
Returns:
withCloud
public ClusterSpecEntity withCloud(String cloud)
Set the cloud property: The cloud service provider.
Parameters:
Returns:
withConfig
public ClusterSpecEntity withConfig(ClusterConfigEntity config)
Set the config property: Specification of the cluster.
Parameters:
Returns:
withDisplayName
public ClusterSpecEntity withDisplayName(String displayName)
Set the displayName property: The name of the cluster.
Parameters:
Returns:
withEnvironment
public ClusterSpecEntity withEnvironment(ClusterEnvironmentEntity environment)
Set the environment property: Specification of the cluster.
Parameters:
Returns:
withHttpEndpoint
public ClusterSpecEntity withHttpEndpoint(String httpEndpoint)
Set the httpEndpoint property: The cluster HTTP request URL.
Parameters:
Returns:
withKafkaBootstrapEndpoint
public ClusterSpecEntity withKafkaBootstrapEndpoint(String kafkaBootstrapEndpoint)
Set the kafkaBootstrapEndpoint property: The bootstrap endpoint used by Kafka clients to connect to the cluster.
Parameters:
Returns:
withNetwork
public ClusterSpecEntity withNetwork(ClusterNetworkEntity network)
Set the network property: Specification of the cluster.
Parameters:
Returns:
withRegion
public ClusterSpecEntity withRegion(String region)
Set the region property: The cloud service provider region.
Parameters:
Returns:
withZone
public ClusterSpecEntity withZone(String zone)
Set the zone property: type of zone availability.
Parameters:
Returns:
zone
public String zone()
Get the zone property: type of zone availability.
Returns: