SchemaRegistryClusterSpecEntity Class

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

Implements

public final class SchemaRegistryClusterSpecEntity
implements JsonSerializable<SchemaRegistryClusterSpecEntity>

Details of schema registry cluster spec.

Constructor Summary

Constructor Description
SchemaRegistryClusterSpecEntity()

Creates an instance of SchemaRegistryClusterSpecEntity class.

Method Summary

Modifier and Type Method and Description
String cloud()

Get the cloud property: The cloud service provider.

SchemaRegistryClusterEnvironmentRegionEntity environment()

Get the environment property: Environment details of the schema registry cluster.

static SchemaRegistryClusterSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of SchemaRegistryClusterSpecEntity from the JsonReader.

String httpEndpoint()

Get the httpEndpoint property: Http endpoint of the cluster.

String name()

Get the name property: Name of the schema registry cluster.

String packageProperty()

Get the packageProperty property: Type of the cluster package Advanced, essentials.

SchemaRegistryClusterEnvironmentRegionEntity region()

Get the region property: Region details of the schema registry cluster.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SchemaRegistryClusterSpecEntity withCloud(String cloud)

Set the cloud property: The cloud service provider.

SchemaRegistryClusterSpecEntity withEnvironment(SchemaRegistryClusterEnvironmentRegionEntity environment)

Set the environment property: Environment details of the schema registry cluster.

SchemaRegistryClusterSpecEntity withHttpEndpoint(String httpEndpoint)

Set the httpEndpoint property: Http endpoint of the cluster.

SchemaRegistryClusterSpecEntity withName(String name)

Set the name property: Name of the schema registry cluster.

SchemaRegistryClusterSpecEntity withPackageProperty(String packageProperty)

Set the packageProperty property: Type of the cluster package Advanced, essentials.

SchemaRegistryClusterSpecEntity withRegion(SchemaRegistryClusterEnvironmentRegionEntity region)

Set the region property: Region details of the schema registry cluster.

Methods inherited from java.lang.Object

Constructor Details

SchemaRegistryClusterSpecEntity

public SchemaRegistryClusterSpecEntity()

Creates an instance of SchemaRegistryClusterSpecEntity class.

Method Details

cloud

public String cloud()

Get the cloud property: The cloud service provider.

Returns:

the cloud value.

environment

public SchemaRegistryClusterEnvironmentRegionEntity environment()

Get the environment property: Environment details of the schema registry cluster.

Returns:

the environment value.

fromJson

public static SchemaRegistryClusterSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of SchemaRegistryClusterSpecEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SchemaRegistryClusterSpecEntity 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 SchemaRegistryClusterSpecEntity.

httpEndpoint

public String httpEndpoint()

Get the httpEndpoint property: Http endpoint of the cluster.

Returns:

the httpEndpoint value.

name

public String name()

Get the name property: Name of the schema registry cluster.

Returns:

the name value.

packageProperty

public String packageProperty()

Get the packageProperty property: Type of the cluster package Advanced, essentials.

Returns:

the packageProperty value.

region

public SchemaRegistryClusterEnvironmentRegionEntity region()

Get the region property: Region details of the schema registry cluster.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloud

public SchemaRegistryClusterSpecEntity withCloud(String cloud)

Set the cloud property: The cloud service provider.

Parameters:

cloud - the cloud value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

withEnvironment

public SchemaRegistryClusterSpecEntity withEnvironment(SchemaRegistryClusterEnvironmentRegionEntity environment)

Set the environment property: Environment details of the schema registry cluster.

Parameters:

environment - the environment value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

withHttpEndpoint

public SchemaRegistryClusterSpecEntity withHttpEndpoint(String httpEndpoint)

Set the httpEndpoint property: Http endpoint of the cluster.

Parameters:

httpEndpoint - the httpEndpoint value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

withName

public SchemaRegistryClusterSpecEntity withName(String name)

Set the name property: Name of the schema registry cluster.

Parameters:

name - the name value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

withPackageProperty

public SchemaRegistryClusterSpecEntity withPackageProperty(String packageProperty)

Set the packageProperty property: Type of the cluster package Advanced, essentials.

Parameters:

packageProperty - the packageProperty value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

withRegion

public SchemaRegistryClusterSpecEntity withRegion(SchemaRegistryClusterEnvironmentRegionEntity region)

Set the region property: Region details of the schema registry cluster.

Parameters:

region - the region value to set.

Returns:

the SchemaRegistryClusterSpecEntity object itself.

Applies to