Share via


LinkOrganization Class

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

Implements

public final class LinkOrganization
implements JsonSerializable<LinkOrganization>

Link an existing Confluent organization.

Constructor Summary

Constructor Description
LinkOrganization()

Creates an instance of LinkOrganization class.

Method Summary

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

Reads an instance of LinkOrganization from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String token()

Get the token property: User auth token.

void validate()

Validates the instance.

LinkOrganization withToken(String token)

Set the token property: User auth token.

Methods inherited from java.lang.Object

Constructor Details

LinkOrganization

public LinkOrganization()

Creates an instance of LinkOrganization class.

Method Details

fromJson

public static LinkOrganization fromJson(JsonReader jsonReader)

Reads an instance of LinkOrganization from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

token

public String token()

Get the token property: User auth token.

Returns:

the token value.

validate

public void validate()

Validates the instance.

withToken

public LinkOrganization withToken(String token)

Set the token property: User auth token.

Parameters:

token - the token value to set.

Returns:

the LinkOrganization object itself.

Applies to