Class SBClientAffineProperties

java.lang.Object
com.azure.resourcemanager.servicebus.models.SBClientAffineProperties

public final class SBClientAffineProperties extends Object
Properties specific to client affine subscriptions.
  • Constructor Details

    • SBClientAffineProperties

      public SBClientAffineProperties()
  • Method Details

    • clientId

      public String clientId()
      Get the clientId property: Indicates the Client ID of the application that created the client-affine subscription.
      Returns:
      the clientId value.
    • withClientId

      public SBClientAffineProperties withClientId(String clientId)
      Set the clientId property: Indicates the Client ID of the application that created the client-affine subscription.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the SBClientAffineProperties object itself.
    • isDurable

      public Boolean isDurable()
      Get the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.
      Returns:
      the isDurable value.
    • withIsDurable

      public SBClientAffineProperties withIsDurable(Boolean isDurable)
      Set the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.
      Parameters:
      isDurable - the isDurable value to set.
      Returns:
      the SBClientAffineProperties object itself.
    • isShared

      public Boolean isShared()
      Get the isShared property: For client-affine subscriptions, this value indicates whether the subscription is shared or not.
      Returns:
      the isShared value.
    • withIsShared

      public SBClientAffineProperties withIsShared(Boolean isShared)
      Set the isShared property: For client-affine subscriptions, this value indicates whether the subscription is shared or not.
      Parameters:
      isShared - the isShared value to set.
      Returns:
      the SBClientAffineProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.