SBAuthorizationRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. servicebus. fluent. models. SBAuthorizationRuleInner
- com.
- com.
- com.
public final class SBAuthorizationRuleInner
extends Resource
Description of a namespace authorization rule.
Constructor Summary
Constructor | Description |
---|---|
SBAuthorizationRuleInner() |
Creates an instance of SBAuthorization |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
SBAuthorization |
fromJson(JsonReader jsonReader)
Reads an instance of SBAuthorization |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
List<Access |
rights()
Get the rights property: The rights associated with the rule. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
SBAuthorization |
withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
SBAuthorizationRuleInner
public SBAuthorizationRuleInner()
Creates an instance of SBAuthorizationRuleInner class.
Method Details
fromJson
public static SBAuthorizationRuleInner fromJson(JsonReader jsonReader)
Reads an instance of SBAuthorizationRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SBAuthorizationRuleInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Overrides:
SBAuthorizationRuleInner.location()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SBAuthorizationRuleInner.name()Returns:
rights
public List
Get the rights property: The rights associated with the rule.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SBAuthorizationRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SBAuthorizationRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
withRights
public SBAuthorizationRuleInner withRights(List
Set the rights property: The rights associated with the rule.
Parameters:
Returns: