SBClientAffineProperties Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. SBClientAffineProperties
- com.
Implements
public final class SBClientAffineProperties
implements JsonSerializable<SBClientAffineProperties>
Properties specific to client affine subscriptions.
Constructor Summary
Constructor | Description |
---|---|
SBClientAffineProperties() |
Creates an instance of SBClient |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the client |
static
SBClient |
fromJson(JsonReader jsonReader)
Reads an instance of SBClient |
Boolean |
isDurable()
Get the is |
Boolean |
isShared()
Get the is |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
SBClient |
withClientId(String clientId)
Set the client |
SBClient |
withIsDurable(Boolean isDurable)
Set the is |
SBClient |
withIsShared(Boolean isShared)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
SBClientAffineProperties
public SBClientAffineProperties()
Creates an instance of SBClientAffineProperties class.
Method Details
clientId
public String clientId()
Get the clientId property: Indicates the Client ID of the application that created the client-affine subscription.
Returns:
fromJson
public static SBClientAffineProperties fromJson(JsonReader jsonReader)
Reads an instance of SBClientAffineProperties from the JsonReader.
Parameters:
Returns:
Throws:
isDurable
public Boolean isDurable()
Get the isDurable property: For client-affine subscriptions, this value indicates whether the subscription is durable or not.
Returns:
isShared
public Boolean isShared()
Get the isShared property: For client-affine subscriptions, this value indicates whether the subscription is shared or not.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientId
public SBClientAffineProperties withClientId(String clientId)
Set the clientId property: Indicates the Client ID of the application that created the client-affine subscription.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java