Share via


ClusterByokEntity Class

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

Implements

public final class ClusterByokEntity
implements JsonSerializable<ClusterByokEntity>

The network associated with this object.

Constructor Summary

Constructor Description
ClusterByokEntity()

Creates an instance of ClusterByokEntity class.

Method Summary

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

Reads an instance of ClusterByokEntity 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.

ClusterByokEntity withId(String id)

Set the id property: ID of the referred resource.

ClusterByokEntity withRelated(String related)

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

ClusterByokEntity withResourceName(String resourceName)

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

Methods inherited from java.lang.Object

Constructor Details

ClusterByokEntity

public ClusterByokEntity()

Creates an instance of ClusterByokEntity class.

Method Details

fromJson

public static ClusterByokEntity fromJson(JsonReader jsonReader)

Reads an instance of ClusterByokEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 ClusterByokEntity withId(String id)

Set the id property: ID of the referred resource.

Parameters:

id - the id value to set.

Returns:

the ClusterByokEntity object itself.

withRelated

public ClusterByokEntity 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 ClusterByokEntity object itself.

withResourceName

public ClusterByokEntity withResourceName(String resourceName)

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

Parameters:

resourceName - the resourceName value to set.

Returns:

the ClusterByokEntity object itself.

Applies to