Class SBClientAffineProperties
java.lang.Object
com.azure.resourcemanager.servicebus.models.SBClientAffineProperties
Properties specific to client affine subscriptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientId()Get the clientId property: Indicates the Client ID of the application that created the client-affine subscription.Get the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.isShared()Get the isShared property: For client-affine subscriptions, this value indicates whether the subscription is shared or not.voidvalidate()Validates the instance.withClientId(String clientId) Set the clientId property: Indicates the Client ID of the application that created the client-affine subscription.withIsDurable(Boolean isDurable) Set the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.withIsShared(Boolean isShared) Set the isShared property: For client-affine subscriptions, this value indicates whether the subscription is shared or not.
-
Constructor Details
-
SBClientAffineProperties
public SBClientAffineProperties()
-
-
Method Details
-
clientId
Get the clientId property: Indicates the Client ID of the application that created the client-affine subscription.- Returns:
- the clientId value.
-
withClientId
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
Get the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.- Returns:
- the isDurable value.
-
withIsDurable
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-