SchemaRegistryClusterEnvironmentRegionEntity Class

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

Implements

public final class SchemaRegistryClusterEnvironmentRegionEntity
implements JsonSerializable<SchemaRegistryClusterEnvironmentRegionEntity>

The environment associated with this object.

Constructor Summary

Constructor Description
SchemaRegistryClusterEnvironmentRegionEntity()

Creates an instance of SchemaRegistryClusterEnvironmentRegionEntity class.

Method Summary

Modifier and Type Method and Description
static SchemaRegistryClusterEnvironmentRegionEntity fromJson(JsonReader jsonReader)

Reads an instance of SchemaRegistryClusterEnvironmentRegionEntity from the JsonReader.

String id()

Get the id property: ID of the referred resource.

String related()

Get the related property: API URL for accessing or modifying the referred object.

String resourceName()

Get the resourceName property: CRN reference to the referred resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SchemaRegistryClusterEnvironmentRegionEntity withId(String id)

Set the id property: ID of the referred resource.

SchemaRegistryClusterEnvironmentRegionEntity withRelated(String related)

Set the related property: API URL for accessing or modifying the referred object.

SchemaRegistryClusterEnvironmentRegionEntity withResourceName(String resourceName)

Set the resourceName property: CRN reference to the referred resource.

Methods inherited from java.lang.Object

Constructor Details

SchemaRegistryClusterEnvironmentRegionEntity

public SchemaRegistryClusterEnvironmentRegionEntity()

Creates an instance of SchemaRegistryClusterEnvironmentRegionEntity class.

Method Details

fromJson

public static SchemaRegistryClusterEnvironmentRegionEntity fromJson(JsonReader jsonReader)

Reads an instance of SchemaRegistryClusterEnvironmentRegionEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: ID of the referred resource.

Returns:

the id value.

related

public String related()

Get the related property: API URL for accessing or modifying the referred object.

Returns:

the related value.

resourceName

public String resourceName()

Get the resourceName property: CRN reference to the referred resource.

Returns:

the resourceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public SchemaRegistryClusterEnvironmentRegionEntity withId(String id)

Set the id property: ID of the referred resource.

Parameters:

id - the id value to set.

Returns:

the SchemaRegistryClusterEnvironmentRegionEntity object itself.

withRelated

public SchemaRegistryClusterEnvironmentRegionEntity withRelated(String related)

Set the related property: API URL for accessing or modifying the referred object.

Parameters:

related - the related value to set.

Returns:

the SchemaRegistryClusterEnvironmentRegionEntity object itself.

withResourceName

public SchemaRegistryClusterEnvironmentRegionEntity withResourceName(String resourceName)

Set the resourceName property: CRN reference to the referred resource.

Parameters:

resourceName - the resourceName value to set.

Returns:

the SchemaRegistryClusterEnvironmentRegionEntity object itself.

Applies to