PermissionBindingInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. PermissionBindingInner
- com.
- com.
public final class PermissionBindingInner
extends ProxyResource
The Permission binding resource.
Constructor Summary
| Constructor | Description |
|---|---|
| PermissionBindingInner() |
Creates an instance of Permission |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientGroupName()
Get the client |
| String |
description()
Get the description property: Description for the Permission Binding resource. |
|
static
Permission |
fromJson(JsonReader jsonReader)
Reads an instance of Permission |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Permission |
permission()
Get the permission property: The allowed permission. |
|
Permission |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
topicSpaceName()
Get the topic |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Permission |
withClientGroupName(String clientGroupName)
Set the client |
|
Permission |
withDescription(String description)
Set the description property: Description for the Permission Binding resource. |
|
Permission |
withPermission(PermissionType permission)
Set the permission property: The allowed permission. |
|
Permission |
withTopicSpaceName(String topicSpaceName)
Set the topic |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PermissionBindingInner
public PermissionBindingInner()
Creates an instance of PermissionBindingInner class.
Method Details
clientGroupName
public String clientGroupName()
Get the clientGroupName property: The name of the client group resource that the permission is bound to. The client group needs to be a resource under the same namespace the permission binding is a part of.
Returns:
description
public String description()
Get the description property: Description for the Permission Binding resource.
Returns:
fromJson
public static PermissionBindingInner fromJson(JsonReader jsonReader)
Reads an instance of PermissionBindingInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PermissionBindingInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PermissionBindingInner.name()Returns:
permission
public PermissionType permission()
Get the permission property: The allowed permission.
Returns:
provisioningState
public PermissionBindingProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the PermissionBinding resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PermissionBindingInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
topicSpaceName
public String topicSpaceName()
Get the topicSpaceName property: The name of the Topic Space resource that the permission is bound to. The Topic space needs to be a resource under the same namespace the permission binding is a part of.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PermissionBindingInner.type()Returns:
validate
public void validate()
Validates the instance.
withClientGroupName
public PermissionBindingInner withClientGroupName(String clientGroupName)
Set the clientGroupName property: The name of the client group resource that the permission is bound to. The client group needs to be a resource under the same namespace the permission binding is a part of.
Parameters:
Returns:
withDescription
public PermissionBindingInner withDescription(String description)
Set the description property: Description for the Permission Binding resource.
Parameters:
Returns:
withPermission
public PermissionBindingInner withPermission(PermissionType permission)
Set the permission property: The allowed permission.
Parameters:
Returns:
withTopicSpaceName
public PermissionBindingInner withTopicSpaceName(String topicSpaceName)
Set the topicSpaceName property: The name of the Topic Space resource that the permission is bound to. The Topic space needs to be a resource under the same namespace the permission binding is a part of.
Parameters:
Returns: