ConsumerGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventhubs. fluent. models. ConsumerGroupInner
- com.
- com.
public final class ConsumerGroupInner
extends ProxyResource
Single item in List or Get Consumer group operation.
Constructor Summary
Constructor | Description |
---|---|
ConsumerGroupInner() |
Creates an instance of Consumer |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdAt()
Get the created |
static
Consumer |
fromJson(JsonReader jsonReader)
Reads an instance of Consumer |
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. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Offset |
updatedAt()
Get the updated |
String |
userMetadata()
Get the user |
void |
validate()
Validates the instance. |
Consumer |
withUserMetadata(String userMetadata)
Set the user |
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:
fromJson
public static ConsumerGroupInner fromJson(JsonReader jsonReader)
Reads an instance of ConsumerGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ConsumerGroupInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ConsumerGroupInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConsumerGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ConsumerGroupInner.type()Returns:
updatedAt
public OffsetDateTime updatedAt()
Get the updatedAt property: The exact time the message was updated.
Returns:
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:
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:
Returns:
Applies to
Azure SDK for Java