Share via


AccessListClusterSuccessResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.AccessListClusterSuccessResponseInner

Implements

public final class AccessListClusterSuccessResponseInner
implements JsonSerializable<AccessListClusterSuccessResponseInner>

Details of the clusters returned on successful response.

Constructor Summary

Constructor Description
AccessListClusterSuccessResponseInner()

Creates an instance of AccessListClusterSuccessResponseInner class.

Method Summary

Modifier and Type Method and Description
List<ClusterRecord> data()

Get the data property: List of clusters.

static AccessListClusterSuccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AccessListClusterSuccessResponseInner from the JsonReader.

String kind()

Get the kind property: Type of response.

ConfluentListMetadata metadata()

Get the metadata property: Metadata of the list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccessListClusterSuccessResponseInner withData(List<ClusterRecord> data)

Set the data property: List of clusters.

AccessListClusterSuccessResponseInner withKind(String kind)

Set the kind property: Type of response.

AccessListClusterSuccessResponseInner withMetadata(ConfluentListMetadata metadata)

Set the metadata property: Metadata of the list.

Methods inherited from java.lang.Object

Constructor Details

AccessListClusterSuccessResponseInner

public AccessListClusterSuccessResponseInner()

Creates an instance of AccessListClusterSuccessResponseInner class.

Method Details

data

public List<ClusterRecord> data()

Get the data property: List of clusters.

Returns:

the data value.

fromJson

public static AccessListClusterSuccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AccessListClusterSuccessResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kind

public String kind()

Get the kind property: Type of response.

Returns:

the kind value.

metadata

public ConfluentListMetadata metadata()

Get the metadata property: Metadata of the list.

Returns:

the metadata value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withData

public AccessListClusterSuccessResponseInner withData(List<ClusterRecord> data)

Set the data property: List of clusters.

Parameters:

data - the data value to set.

Returns:

the AccessListClusterSuccessResponseInner object itself.

withKind

public AccessListClusterSuccessResponseInner withKind(String kind)

Set the kind property: Type of response.

Parameters:

kind - the kind value to set.

Returns:

the AccessListClusterSuccessResponseInner object itself.

withMetadata

public AccessListClusterSuccessResponseInner withMetadata(ConfluentListMetadata metadata)

Set the metadata property: Metadata of the list.

Parameters:

metadata - the metadata value to set.

Returns:

the AccessListClusterSuccessResponseInner object itself.

Applies to