Share via


TopicsInputConfig Class

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

Implements

public final class TopicsInputConfig
implements JsonSerializable<TopicsInputConfig>

Topics input config.

Constructor Summary

Constructor Description
TopicsInputConfig()

Creates an instance of TopicsInputConfig class.

Method Summary

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

Reads an instance of TopicsInputConfig from the JsonReader.

String name()

Get the name property: Name of the topic input config.

JsonWriter toJson(JsonWriter jsonWriter)
String value()

Get the value property: Value of the topic input config.

TopicsInputConfig withName(String name)

Set the name property: Name of the topic input config.

TopicsInputConfig withValue(String value)

Set the value property: Value of the topic input config.

Methods inherited from java.lang.Object

Constructor Details

TopicsInputConfig

public TopicsInputConfig()

Creates an instance of TopicsInputConfig class.

Method Details

fromJson

public static TopicsInputConfig fromJson(JsonReader jsonReader)

Reads an instance of TopicsInputConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the topic input config.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

value

public String value()

Get the value property: Value of the topic input config.

Returns:

the value value.

withName

public TopicsInputConfig withName(String name)

Set the name property: Name of the topic input config.

Parameters:

name - the name value to set.

Returns:

the TopicsInputConfig object itself.

withValue

public TopicsInputConfig withValue(String value)

Set the value property: Value of the topic input config.

Parameters:

value - the value value to set.

Returns:

the TopicsInputConfig object itself.

Applies to