public class TopicInfo
extends com.microsoft.windowsazure.services.servicebus.implementation.EntryModel<com.microsoft.windowsazure.services.servicebus.implementation.TopicDescription>
| Constructor and Description |
|---|
TopicInfo()
Creates an instance of the
TopicInfo class. |
TopicInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
Creates an instance of the
TopicInfo class using the
specified entry. |
TopicInfo(String path)
Creates an instance of the
TopicInfo class using the
specified name. |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getAccessedAt()
Gets the accessed at.
|
Duration |
getAutoDeleteOnIdle()
Gets the auto delete on idle.
|
com.microsoft.windowsazure.services.servicebus.implementation.MessageCountDetails |
getCountDetails()
Gets the message count details.
|
Calendar |
getCreatedAt()
Gets the created at.
|
Duration |
getDefaultMessageTimeToLive()
Returns the default message time-to-live (TTL).
|
Duration |
getDuplicateDetectionHistoryTimeWindow()
Returns the time span during which the service bus will detect message
duplication.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus |
getEntityAvailabilityStatus()
Gets the entity availability status.
|
Long |
getMaxSizeInMegabytes()
Returns the maximum size of the topic.
|
com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy |
getPartitioningPolicy()
Gets the partitioning policy.
|
String |
getPath()
Returns the name of the topic.
|
Long |
getSizeInBytes()
Returns the size of the topic.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus |
getStatus()
Gets the status.
|
Integer |
getSubscriptionCount()
Gets the subscription count.
|
Calendar |
getUpdatedAt()
Gets the updated at.
|
URI |
getUri()
Gets the uri.
|
String |
getUserMetadata()
Gets the user metadata.
|
Boolean |
isAnonymousAccessible()
Checks if is anonymous accessible.
|
Boolean |
isEnableBatchedOperations()
Indicates whether batch operations are enabled.
|
Boolean |
isFilteringMessageBeforePublishing()
Checks if is filtering message before publishing.
|
Boolean |
isRequiresDuplicateDetection()
Indicates whether duplicate message detection is required.
|
Boolean |
isSupportOrdering()
Checks if is support ordering.
|
TopicInfo |
setAccessedAt(Calendar accessedAt)
Sets the accessed at.
|
TopicInfo |
setAnonymousAccessible(Boolean anonymousAccessible)
Sets the anonymous accessible.
|
TopicInfo |
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Sets the auto delete on idle.
|
TopicInfo |
setCreatedAt(Calendar createdAt)
Sets the created at.
|
TopicInfo |
setDefaultMessageTimeToLive(Duration value)
Sets the default message time-to-live (TTL).
|
TopicInfo |
setDuplicateDetectionHistoryTimeWindow(Duration value)
Sets the time span during which the service bus will detect message
duplication.
|
TopicInfo |
setEnableBatchedOperations(Boolean value)
Specifies whether batch operations are enabled.
|
TopicInfo |
setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
Sets the entity availability status.
|
TopicInfo |
setFilteringMessageBeforePublishing(Boolean filteringMessageBeforePublishing)
Sets the filtering message before publishing.
|
TopicInfo |
setMaxSizeInMegabytes(Long value)
Sets the maximum size of the topic.
|
TopicInfo |
setPartitioningPolicy(com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy partitioningPolicy)
Sets the partitioning policy.
|
TopicInfo |
setPath(String value)
Sets the name of the topic.
|
TopicInfo |
setRequiresDuplicateDetection(Boolean value)
Specifies whether duplicate message detection is required.
|
TopicInfo |
setSizeInBytes(Long sizeInBytes)
Sets the size in bytes.
|
TopicInfo |
setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus status)
Sets the status.
|
TopicInfo |
setSubscriptionCount(Integer subscriptionCount)
Sets the subscription count.
|
TopicInfo |
setSupportOrdering(Boolean supportOrdering)
Sets the support ordering.
|
TopicInfo |
setUpdatedAt(Calendar updatedAt)
Sets the updated at.
|
TopicInfo |
setUserMetadata(String userMetadata)
Sets the user metadata.
|
public TopicInfo()
TopicInfo class.public TopicInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
TopicInfo class using the
specified entry.entry - An Entry object that represents the entry for the
topic.public TopicInfo(String path)
TopicInfo class using the
specified name.path - A String object that represents the name for the
topic.public String getPath()
String object that represents the name of the
topic.public TopicInfo setPath(String value)
value - A String that represents the name of the topic.TopicInfo object that represents the updated
topic.public Duration getDefaultMessageTimeToLive()
Duration object that represents the default
message TTL.public TopicInfo setDefaultMessageTimeToLive(Duration value)
value - A Duration object that represents the default
message TTL.TopicInfo object that represents the updated
topic.public Long getMaxSizeInMegabytes()
public TopicInfo setMaxSizeInMegabytes(Long value)
value - The maximum size, in megabytes, of the topic.TopicInfo object that represents the updated
topic.public Boolean isRequiresDuplicateDetection()
true if duplicate message detection is required;
otherwise, false.public TopicInfo setRequiresDuplicateDetection(Boolean value)
value - true if duplicate message detection is required;
otherwise, false.TopicInfo object that represents the updated
topic.public Duration getDuplicateDetectionHistoryTimeWindow()
Duration object that represents the time span for
detecting message duplication.public TopicInfo setDuplicateDetectionHistoryTimeWindow(Duration value)
value - A Duration object that represents the time span
for detecting message duplication.TopicInfo object that represents the updated
topic.public Boolean isEnableBatchedOperations()
true if batch operations are enabled; otherwise,
false.public TopicInfo setEnableBatchedOperations(Boolean value)
value - true if batch operations are enabled; otherwise,
false.TopicInfo object that represents the updated
topic.public Long getSizeInBytes()
public TopicInfo setSizeInBytes(Long sizeInBytes)
sizeInBytes - A Long instance of the size in bytes.TopicInfo object that represents the updated
topic.public TopicInfo setFilteringMessageBeforePublishing(Boolean filteringMessageBeforePublishing)
filteringMessageBeforePublishing - true if filter message before publishing,
otherwise false.TopicInfo object that represents the updated
topic.public Boolean isFilteringMessageBeforePublishing()
true if filter message before publishing, otherwise
false.public TopicInfo setAnonymousAccessible(Boolean anonymousAccessible)
anonymousAccessible - true if is anonymous accessible, otherwise
false.TopicInfo object that represents the updated
topic.public Boolean isAnonymousAccessible()
true if is anonymous accessible, otherwise
false.public TopicInfo setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus status)
status - the statusTopicInfo object that represents the updated
topic.public com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus getStatus()
EntityStatus object that represents the status of
the object.public TopicInfo setCreatedAt(Calendar createdAt)
createdAt - the created atTopicInfo object that represents the updated
topic.public Calendar getCreatedAt()
Calendar object which represents when the topic
was created.public TopicInfo setUpdatedAt(Calendar updatedAt)
updatedAt - A Calendar object which represents when the topic
was updated.TopicInfo object that represents the updated
topic.public Calendar getUpdatedAt()
Calendar object which represents when the topic
was updated.public TopicInfo setAccessedAt(Calendar accessedAt)
accessedAt - A Calendar instance representing when topic was
last accessed at.TopicInfo object that represents the updated
topic.public Calendar getAccessedAt()
Calendar instance representing when topic was last
accessed at.public TopicInfo setUserMetadata(String userMetadata)
userMetadata - A String represents the user metadata.TopicInfo object that represents the updated
topic.public String getUserMetadata()
String represents the user metadata.public TopicInfo setSupportOrdering(Boolean supportOrdering)
supportOrdering - true if supports ordering, otherwise
false.TopicInfo object that represents the updated
topic.public Boolean isSupportOrdering()
true if supports ordering, otherwise
false.public TopicInfo setSubscriptionCount(Integer subscriptionCount)
subscriptionCount - The count of the subscription.TopicInfo object that represents the updated
topic.public Integer getSubscriptionCount()
public com.microsoft.windowsazure.services.servicebus.implementation.MessageCountDetails getCountDetails()
MessageCountDetails instance representing the
details of the message count.public TopicInfo setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - A Duration object which represents the time span
of auto delete on idle.TopicInfo object that represents the updated
topic.public Duration getAutoDeleteOnIdle()
Duration object which represents the time span of
auto delete on idle.public TopicInfo setPartitioningPolicy(com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy partitioningPolicy)
partitioningPolicy - A PartitioningPolicy object which represents the
partitioning policy.TopicInfo object that represents the updated
topic.public com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy getPartitioningPolicy()
PartitioningPolicy object which represents the
partitioning policy.public TopicInfo setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - An EntityAvailabilityStatus instance which
represents the entity availability status.TopicInfo object that represents the updated
topic.public com.microsoft.windowsazure.services.servicebus.implementation.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.
*/