ConsumerGroupInner Class

public final class ConsumerGroupInner
extends ProxyResource

Single item in List or Get Consumer group operation.

Constructor Summary

Constructor Description
ConsumerGroupInner()

Creates an instance of ConsumerGroupInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdAt()

Get the createdAt property: Exact time the message was created.

static ConsumerGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ConsumerGroupInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String location()

Get the location property: The geo-location where the resource lives.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

OffsetDateTime updatedAt()

Get the updatedAt property: The exact time the message was updated.

String userMetadata()

Get the userMetadata property: User Metadata is a placeholder to store user-defined string data with maximum length 1024.

void validate()

Validates the instance.

ConsumerGroupInner withUserMetadata(String userMetadata)

Set the userMetadata property: User Metadata is a placeholder to store user-defined string data with maximum length 1024.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ConsumerGroupInner

public ConsumerGroupInner()

Creates an instance of ConsumerGroupInner class.

Method Details

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: Exact time the message was created.

Returns:

the createdAt value.

fromJson

public static ConsumerGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ConsumerGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ConsumerGroupInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConsumerGroupInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConsumerGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConsumerGroupInner.type()

Returns:

the type value.

updatedAt

public OffsetDateTime updatedAt()

Get the updatedAt property: The exact time the message was updated.

Returns:

the updatedAt value.

userMetadata

public String userMetadata()

Get the userMetadata property: User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.

Returns:

the userMetadata value.

validate

public void validate()

Validates the instance.

withUserMetadata

public ConsumerGroupInner withUserMetadata(String userMetadata)

Set the userMetadata property: User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.

Parameters:

userMetadata - the userMetadata value to set.

Returns:

the ConsumerGroupInner object itself.

Applies to