public class SubscriptionInfo
extends com.microsoft.windowsazure.services.servicebus.implementation.EntryModel<com.microsoft.windowsazure.services.servicebus.implementation.SubscriptionDescription>
| Constructor and Description |
|---|
SubscriptionInfo()
Creates an instance of the
SubscriptionInfo class. |
SubscriptionInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
Creates an instance of the
SubscriptionInfo class using the
specified entry. |
SubscriptionInfo(String name)
Creates an instance of the
SubscriptionInfo 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).
|
com.microsoft.windowsazure.services.servicebus.implementation.RuleDescription |
getDefaultRuleDescription()
Returns the description of the default rule.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus |
getEntityAvailabilityStatus()
Gets the entity availability status.
|
String |
getForwardTo()
Gets a
String representing the URI of the entity to forward
to. |
Duration |
getLockDuration()
Returns the duration of the lock.
|
Integer |
getMaxDeliveryCount()
Returns the maximum delivery count for the subscription.
|
Long |
getMessageCount()
Returns the number of messages in the subscription.
|
String |
getName()
Returns the name of the subscription.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus |
getStatus()
Gets the status.
|
Calendar |
getUpdatedAt()
Gets the updated at.
|
String |
getUserMetadata()
Gets the user metadata.
|
Boolean |
isDeadLetteringOnFilterEvaluationExceptions()
Indicates whether dead lettering is in effect when filter evaluation
exceptions are encountered.
|
Boolean |
isDeadLetteringOnMessageExpiration()
Indicates whether dead lettering is in effect upon message expiration.
|
Boolean |
isEnableBatchedOperations()
Indicates whether batch operations are enabled.
|
Boolean |
isRequiresSession()
Indicates whether the subscription is session-aware.
|
SubscriptionInfo |
setAccessedAt(Calendar accessedAt)
Sets the accessed at.
|
SubscriptionInfo |
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Sets the auto delete on idle.
|
SubscriptionInfo |
setCreatedAt(Calendar createdAt)
Sets the created at.
|
SubscriptionInfo |
setDeadLetteringOnFilterEvaluationExceptions(Boolean value)
Specifies whether dead lettering is in effect when filter evaluation
exceptions are encountered.
|
SubscriptionInfo |
setDeadLetteringOnMessageExpiration(Boolean value)
Specifies whether dead lettering is in effect upon message expiration.
|
SubscriptionInfo |
setDefaultMessageTimeToLive(Duration value)
Sets the default message time-to-live (TTL).
|
SubscriptionInfo |
setDefaultRuleDescription(com.microsoft.windowsazure.services.servicebus.implementation.RuleDescription value)
Specifies the description for the default rule.
|
SubscriptionInfo |
setEnableBatchedOperations(Boolean value)
Specifies whether batch operations are enabled.
|
SubscriptionInfo |
setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
Sets the entity availability status.
|
SubscriptionInfo |
setForwardTo(String forwardTo)
Sets the forward to.
|
SubscriptionInfo |
setLockDuration(Duration value)
Sets the duration of the lock.
|
SubscriptionInfo |
setMaxDeliveryCount(Integer value)
Sets the maximum delivery count for the subscription.
|
SubscriptionInfo |
setMessageCount(Long messageCount)
Sets the message count.
|
SubscriptionInfo |
setName(String value)
Sets the name of the subscription.
|
SubscriptionInfo |
setRequiresSession(Boolean value)
Specifies whether the subscription is session-aware.
|
SubscriptionInfo |
setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus entityStatus)
Sets the status.
|
SubscriptionInfo |
setUpdatedAt(Calendar updatedAt)
Sets the updated at.
|
SubscriptionInfo |
setUserMetadata(String userMetadata)
Sets the user metadata.
|
public SubscriptionInfo()
SubscriptionInfo class.public SubscriptionInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
SubscriptionInfo class using the
specified entry.entry - An Entry object.public SubscriptionInfo(String name)
SubscriptionInfo class using the
specified name.name - A String object that represents the name of the
subscription.public String getName()
String object that represents the name of the
subscription.public SubscriptionInfo setName(String value)
value - A String that represents the name of the
subscription.SubscriptionInfo object that represents the
updated subscription.public Duration getLockDuration()
Duration object that represents the duration of
the lock.public SubscriptionInfo setLockDuration(Duration value)
value - The duration, in seconds, of the lock.SubscriptionInfo object that represents the
updated subscription.public Boolean isRequiresSession()
true if the subscription is session aware;
otherwise, false.public SubscriptionInfo setRequiresSession(Boolean value)
value - true if the subscription is session aware;
otherwise, false.SubscriptionInfo object that represents the
updated subscription.public Duration getDefaultMessageTimeToLive()
Duration object that represents the default
message TTL.public SubscriptionInfo setDefaultMessageTimeToLive(Duration value)
value - A Duration object that represents the default
message TTL.SubscriptionInfo object that represents the
updated subscription.public Boolean isDeadLetteringOnMessageExpiration()
true if dead lettering is in effect; otherwise,
false.public SubscriptionInfo setDeadLetteringOnMessageExpiration(Boolean value)
value - true if dead lettering is in effect; otherwise,
false.SubscriptionInfo object that represents the
updated subscription.public Boolean isDeadLetteringOnFilterEvaluationExceptions()
true if dead lettering is in effect; otherwise,
false.public SubscriptionInfo setDeadLetteringOnFilterEvaluationExceptions(Boolean value)
value - true if dead lettering is in effect; otherwise,
false.SubscriptionInfo object that represents the
updated subscription.public com.microsoft.windowsazure.services.servicebus.implementation.RuleDescription getDefaultRuleDescription()
RuleDescription object that represents the default
rule description.public SubscriptionInfo setDefaultRuleDescription(com.microsoft.windowsazure.services.servicebus.implementation.RuleDescription value)
value - A RuleDescription object that represents the
default rule description.SubscriptionInfo object that represents the
updated subscription.public Long getMessageCount()
Long object represents the count of the message.public Integer getMaxDeliveryCount()
Integer represents the maximum delivery count.public SubscriptionInfo setMaxDeliveryCount(Integer value)
value - A value represents the maximum delivery count for
the subscription.SubscriptionInfo object that represents the
updated subscription.public Boolean isEnableBatchedOperations()
true if batch operations are enabled; otherwise,
false.public SubscriptionInfo setEnableBatchedOperations(Boolean value)
value - true if batch operations are enabled; otherwise,
false.SubscriptionInfo object that represents the
updated subscription.public SubscriptionInfo setMessageCount(Long messageCount)
messageCount - A Long object represents the message count.SubscriptionInfo object that represents the
updated subscription.public SubscriptionInfo setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus entityStatus)
entityStatus - A EntityStatus object represents the status of
the entity.SubscriptionInfo object that represents the
updated subscription.public com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus getStatus()
EntityStatus object represents the status of the
entity.public SubscriptionInfo setCreatedAt(Calendar createdAt)
createdAt - the created atSubscriptionInfo object that represents the
updated subscription.public Calendar getCreatedAt()
public SubscriptionInfo setUpdatedAt(Calendar updatedAt)
updatedAt - the updated atSubscriptionInfo object that represents the
updated subscription.public Calendar getUpdatedAt()
public SubscriptionInfo setAccessedAt(Calendar accessedAt)
accessedAt - the accessed atSubscriptionInfo object that represents the
updated subscription.public Calendar getAccessedAt()
public SubscriptionInfo setUserMetadata(String userMetadata)
userMetadata - the user metadataSubscriptionInfo object that represents the
updated subscription.public String getUserMetadata()
public SubscriptionInfo setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - A Duration object represents the auto delete on
idle.SubscriptionInfo object that represents the
updated subscription.public Duration getAutoDeleteOnIdle()
Duration object represents the auto delete on
idle.public SubscriptionInfo setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - An EntityAvailabilityStatus instance representing
the entity availiability status.SubscriptionInfo object that represents the
updated subscription.public com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus getEntityAvailabilityStatus()
EntityAvailabilityStatus instance representing
the entity availiability status.public com.microsoft.windowsazure.services.servicebus.implementation.MessageCountDetails getCountDetails()
MessageCountDetails instance representing the
details of the message count.public SubscriptionInfo setForwardTo(String forwardTo)
forwardTo - A String representing the string to forward to.public String getForwardTo()
String representing the URI of the entity to forward
to.String representing the URI of the entity to
forward to./**
* 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.
*/