public class EventHubInfo extends com.microsoft.windowsazure.services.servicebus.implementation.EntryModel<EventHubDescription>
| Constructor and Description |
|---|
EventHubInfo()
Creates an instance of the
EventHubInfo class. |
EventHubInfo(Entry entry)
Creates an instance of the
EventHubInfo class using the
specified entry. |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getAccessedAt()
Gets the accessed at.
|
Calendar |
getCreatedAt()
Gets the created at.
|
Long |
getDefaultMessageRetention()
Returns the message retention in days.
|
EntityAvailabilityStatus |
getEntityAvailabilityStatus()
Gets the entity availability status.
|
Integer |
getPartitionCount()
Returns the partition count of the event hub.
|
String |
getPath()
Returns the name of the event hub.
|
EntityStatus |
getStatus()
Gets the status.
|
Calendar |
getUpdatedAt()
Gets the updated at.
|
URI |
getUri()
Gets the uri.
|
String |
getUserMetadata()
Gets the user metadata.
|
EventHubInfo |
setAccessedAt(Calendar accessedAt)
Sets the accessed at.
|
EventHubInfo |
setCreatedAt(Calendar createdAt)
Sets the created at.
|
EventHubInfo |
setDefaultMessageRetention(Long value)
Sets the message retention in days.
|
EventHubInfo |
setEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
Sets the entity availability status.
|
EventHubInfo |
setPartitionCount(Integer value)
Sets the partition count of the event hub.
|
EventHubInfo |
setPath(String value)
Sets the name of the event hub.
|
EventHubInfo |
setStatus(EntityStatus status)
Sets the status.
|
EventHubInfo |
setUpdatedAt(Calendar updatedAt)
Sets the updated at.
|
EventHubInfo |
setUserMetadata(String userMetadata)
Sets the user metadata.
|
getEntry, getModel, setEntry, setModelpublic EventHubInfo()
EventHubInfo class.public EventHubInfo(Entry entry)
EventHubInfo class using the
specified entry.entry - An Entry object that represents the entry for the
topic.public String getPath()
String object that represents the name of the
event hub.public EventHubInfo setPath(String value)
value - A String that represents the name of the EventHub.EventHubInfo object that represents the updated
event hub.public Long getDefaultMessageRetention()
long that represents the
message retention in days.public EventHubInfo setDefaultMessageRetention(Long value)
value - A long that represents the
message retention in days.EventHubInfo object that represents the updated
event hub.public Integer getPartitionCount()
public EventHubInfo setPartitionCount(Integer value)
value - The partition count of the event hub.EventHubInfo object that represents the updated
event hub.public EventHubInfo setStatus(EntityStatus status)
status - the statusEventHubInfo object that represents the updated
event hub.public EntityStatus getStatus()
EntityStatus object that represents the status of
the object.public EventHubInfo setCreatedAt(Calendar createdAt)
createdAt - the created atTopicInfo object that represents the updated
event hub.public Calendar getCreatedAt()
Calendar object which represents when the event hub
was created.public EventHubInfo setUpdatedAt(Calendar updatedAt)
updatedAt - A Calendar object which represents when the event hub
was updated.TopicInfo object that represents the updated
event hub.public Calendar getUpdatedAt()
Calendar object which represents when the event hub
was updated.public EventHubInfo setAccessedAt(Calendar accessedAt)
accessedAt - A Calendar instance representing when event hub was
last accessed at.EventHubInfo object that represents the updated
event hub.public Calendar getAccessedAt()
Calendar instance representing when event hub was last
accessed at.public EventHubInfo setUserMetadata(String userMetadata)
userMetadata - A String represents the user metadata.EventHubInfo object that represents the updated
event hub.public String getUserMetadata()
String represents the user metadata.public EventHubInfo setEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - An EntityAvailabilityStatus instance which
represents the entity availability status.TopicInfo object that represents the updated
event hub.public EntityAvailabilityStatus getEntityAvailabilityStatus()
EntityAvailabilityStatus instance which
represents the entity availability status.public URI getUri()
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/