public class PartitionOwnership extends Object
Constructor and Description |
---|
PartitionOwnership() |
Modifier and Type | Method and Description |
---|---|
String |
getConsumerGroup()
Gets the consumer group name associated with this ownership record.
|
String |
getETag()
Gets the ETag that was generated by the last known successful update to the partition ownership record.
|
String |
getEventHubName()
Gets the Event Hub name associated with this ownership record.
|
String |
getFullyQualifiedNamespace()
Returns the fully qualified namespace of the Event Hub.
|
Long |
getLastModifiedTime()
Gets the last modified time of this ownership record as epoch millis.
|
String |
getOwnerId()
Sets the unique event processor identifier as the owner of the partition id in this ownership record.
|
String |
getPartitionId()
Gets the partition id associated with this ownership record.
|
PartitionOwnership |
setConsumerGroup(String consumerGroup)
Sets the consumer group name associated with this ownership record.
|
PartitionOwnership |
setETag(String eTag)
Sets the ETag with the last known successful update to partition ownership record.
|
PartitionOwnership |
setEventHubName(String eventHubName)
Sets the Event Hub name associated with this ownership record.
|
PartitionOwnership |
setFullyQualifiedNamespace(String fullyQualifiedNamespace)
Sets the fully qualified namespace of the Event Hub.
|
PartitionOwnership |
setLastModifiedTime(Long lastModifiedTime)
Sets the last modified time of this ownership record as epoch millis.
|
PartitionOwnership |
setOwnerId(String ownerId)
Returns the unique event processor identifier that owns the partition id in this ownership record.
|
PartitionOwnership |
setPartitionId(String partitionId)
Sets the partition id associated with this ownership record.
|
public String getFullyQualifiedNamespace()
public PartitionOwnership setFullyQualifiedNamespace(String fullyQualifiedNamespace)
fullyQualifiedNamespace
- the fully qualified namespace of the Event Hub.PartitionOwnership
instance.public String getEventHubName()
public PartitionOwnership setEventHubName(String eventHubName)
eventHubName
- The Event Hub name associated with this ownership record.PartitionOwnership
instance.public String getConsumerGroup()
public PartitionOwnership setConsumerGroup(String consumerGroup)
consumerGroup
- The consumer group name associated with this ownership record.PartitionOwnership
instance.public String getPartitionId()
public PartitionOwnership setPartitionId(String partitionId)
partitionId
- The partition id associated with this ownership record.PartitionOwnership
instance.public String getOwnerId()
public PartitionOwnership setOwnerId(String ownerId)
ownerId
- The unique event processor identifier that owns the partition id in this ownership record.PartitionOwnership
instance.public Long getLastModifiedTime()
public PartitionOwnership setLastModifiedTime(Long lastModifiedTime)
lastModifiedTime
- The last modified time of this ownership record as epoch millis.PartitionOwnership
instance.public String getETag()
public PartitionOwnership setETag(String eTag)
eTag
- The eTag for this ownership record.PartitionOwnership
instance.Copyright © 2019 Microsoft Corporation. All rights reserved.