Class ServiceBusEntityProperties

java.lang.Object
com.azure.spring.cloud.resourcemanager.provisioning.properties.ServiceBusEntityProperties
Direct Known Subclasses:
ServiceBusQueueProperties, ServiceBusTopicProperties

public class ServiceBusEntityProperties extends Object
Entity configuration properties of Service Bus.
  • Constructor Details

    • ServiceBusEntityProperties

      public ServiceBusEntityProperties()
  • Method Details

    • getMaxSizeInMegabytes

      public Long getMaxSizeInMegabytes()
      Get the maxSizeInMegabytes property.
      Returns:
      the maxSizeInMegabytes value.
    • setMaxSizeInMegabytes

      public void setMaxSizeInMegabytes(Long maxSizeInMegabytes)
      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

      public Duration getDefaultMessageTimeToLive()
      Set the defaultMessageTimeToLive property.
      Returns:
      the defaultMessageTimeToLive value.
    • setDefaultMessageTimeToLive

      public void setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
      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.