public class EventhubInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
EventhubInner() |
| Modifier and Type | Method and Description |
|---|---|
CaptureDescription |
captureDescription()
Get the captureDescription property: Properties of capture description.
|
OffsetDateTime |
createdAt()
Get the createdAt property: Exact time the Event Hub was created.
|
Long |
messageRetentionInDays()
Get the messageRetentionInDays property: Number of days to retain the events for this Event Hub, value should be
1 to 7 days.
|
Long |
partitionCount()
Get the partitionCount property: Number of partitions created for the Event Hub, allowed values are from 1 to 32
partitions.
|
List<String> |
partitionIds()
Get the partitionIds property: Current number of shards on the Event Hub.
|
EntityStatus |
status()
Get the status property: Enumerates the possible values for the status of a Event Hub.
|
OffsetDateTime |
updatedAt()
Get the updatedAt property: The exact time the message was updated.
|
void |
validate()
Validates the instance.
|
EventhubInner |
withCaptureDescription(CaptureDescription captureDescription)
Set the captureDescription property: Properties of capture description.
|
EventhubInner |
withMessageRetentionInDays(Long messageRetentionInDays)
Set the messageRetentionInDays property: Number of days to retain the events for this Event Hub, value should be
1 to 7 days.
|
EventhubInner |
withPartitionCount(Long partitionCount)
Set the partitionCount property: Number of partitions created for the Event Hub, allowed values are from 1 to 32
partitions.
|
EventhubInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a Event Hub.
|
public List<String> partitionIds()
public OffsetDateTime createdAt()
public OffsetDateTime updatedAt()
public Long messageRetentionInDays()
public EventhubInner withMessageRetentionInDays(Long messageRetentionInDays)
messageRetentionInDays - the messageRetentionInDays value to set.public Long partitionCount()
public EventhubInner withPartitionCount(Long partitionCount)
partitionCount - the partitionCount value to set.public EntityStatus status()
public EventhubInner withStatus(EntityStatus status)
status - the status value to set.public CaptureDescription captureDescription()
public EventhubInner withCaptureDescription(CaptureDescription captureDescription)
captureDescription - the captureDescription value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.