Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.eventhub.implementation; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.ProxyResource;
Single item in List or Get Consumer group operation.
/** * Single item in List or Get Consumer group operation. */
@JsonFlatten public class ConsumerGroupInner extends ProxyResource {
Exact time the message was created.
/** * Exact time the message was created. */
@JsonProperty(value = "properties.createdAt", access = JsonProperty.Access.WRITE_ONLY) private DateTime createdAt;
The exact time the message was updated.
/** * The exact time the message was updated. */
@JsonProperty(value = "properties.updatedAt", access = JsonProperty.Access.WRITE_ONLY) private DateTime updatedAt;
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.
/** * 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. */
@JsonProperty(value = "properties.userMetadata") private String userMetadata;
Get exact time the message was created.
Returns:the createdAt value
/** * Get exact time the message was created. * * @return the createdAt value */
public DateTime createdAt() { return this.createdAt; }
Get the exact time the message was updated.
Returns:the updatedAt value
/** * Get the exact time the message was updated. * * @return the updatedAt value */
public DateTime updatedAt() { return this.updatedAt; }
Get 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
/** * Get 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. * * @return the userMetadata value */
public String userMetadata() { return this.userMetadata; }
Set 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.
Params:
  • userMetadata – the userMetadata value to set
Returns:the ConsumerGroupInner object itself.
/** * Set 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. * * @param userMetadata the userMetadata value to set * @return the ConsumerGroupInner object itself. */
public ConsumerGroupInner withUserMetadata(String userMetadata) { this.userMetadata = userMetadata; return this; } }