Class EventHubConsumerGroupName
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.EventHubConsumerGroupName
-
public final class EventHubConsumerGroupName extends Object
The EventHub consumer group name.
-
-
Constructor Summary
Constructors Constructor Description EventHubConsumerGroupName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: EventHub consumer group name.void
validate()
Validates the instance.EventHubConsumerGroupName
withName(String name)
Set the name property: EventHub consumer group name.
-
-
-
Method Detail
-
name
public String name()
Get the name property: EventHub consumer group name.- Returns:
- the name value.
-
withName
public EventHubConsumerGroupName withName(String name)
Set the name property: EventHub consumer group name.- Parameters:
name
- the name value to set.- Returns:
- the EventHubConsumerGroupName object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-