Class ServiceBusEntityProperties
java.lang.Object
com.azure.spring.cloud.resourcemanager.provisioning.properties.ServiceBusEntityProperties
- Direct Known Subclasses:
ServiceBusQueueProperties,ServiceBusTopicProperties
Entity configuration properties of Service Bus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the defaultMessageTimeToLive property.Get the maxSizeInMegabytes property.voidsetDefaultMessageTimeToLive(Duration defaultMessageTimeToLive) Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.voidsetMaxSizeInMegabytes(Long maxSizeInMegabytes) Set the maxSizeInMegabytes property: The maximum size of the queue in megabytes, which is the size of memory allocated for the queue.
-
Constructor Details
-
ServiceBusEntityProperties
public ServiceBusEntityProperties()
-
-
Method Details
-
getMaxSizeInMegabytes
Get the maxSizeInMegabytes property.- Returns:
- the maxSizeInMegabytes value.
-
setMaxSizeInMegabytes
Set the maxSizeInMegabytes property: The maximum size of the queue in megabytes, which is the size of memory allocated for the queue.- Parameters:
maxSizeInMegabytes- the maxSizeInMegabytes value to set.
-
getDefaultMessageTimeToLive
Set the defaultMessageTimeToLive property.- Returns:
- the defaultMessageTimeToLive value.
-
setDefaultMessageTimeToLive
Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.- Parameters:
defaultMessageTimeToLive- the defaultMessageTimeToLive value to set.
-