次の方法で共有


PermissionBindingInner Class

public final class PermissionBindingInner
extends ProxyResource

The Permission binding resource.

Constructor Summary

Constructor Description
PermissionBindingInner()

Creates an instance of PermissionBindingInner class.

Method Summary

Modifier and Type Method and Description
String clientGroupName()

Get the clientGroupName property: The name of the client group resource that the permission is bound to.

String description()

Get the description property: Description for the Permission Binding resource.

static PermissionBindingInner fromJson(JsonReader jsonReader)

Reads an instance of PermissionBindingInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

PermissionType permission()

Get the permission property: The allowed permission.

PermissionBindingProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the PermissionBinding resource.

SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

JsonWriter toJson(JsonWriter jsonWriter)
String topicSpaceName()

Get the topicSpaceName property: The name of the Topic Space resource that the permission is bound to.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PermissionBindingInner withClientGroupName(String clientGroupName)

Set the clientGroupName property: The name of the client group resource that the permission is bound to.

PermissionBindingInner withDescription(String description)

Set the description property: Description for the Permission Binding resource.

PermissionBindingInner withPermission(PermissionType permission)

Set the permission property: The allowed permission.

PermissionBindingInner withTopicSpaceName(String topicSpaceName)

Set the topicSpaceName property: The name of the Topic Space resource that the permission is bound to.

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:

the clientGroupName value.

description

public String description()

Get the description property: Description for the Permission Binding resource.

Returns:

the description value.

fromJson

public static PermissionBindingInner fromJson(JsonReader jsonReader)

Reads an instance of PermissionBindingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PermissionBindingInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

PermissionBindingInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PermissionBindingInner.name()

Returns:

the name value.

permission

public PermissionType permission()

Get the permission property: The allowed permission.

Returns:

the permission value.

provisioningState

public PermissionBindingProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the PermissionBinding resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PermissionBindingInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

the topicSpaceName value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

PermissionBindingInner.type()

Returns:

the type value.

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:

clientGroupName - the clientGroupName value to set.

Returns:

the PermissionBindingInner object itself.

withDescription

public PermissionBindingInner withDescription(String description)

Set the description property: Description for the Permission Binding resource.

Parameters:

description - the description value to set.

Returns:

the PermissionBindingInner object itself.

withPermission

public PermissionBindingInner withPermission(PermissionType permission)

Set the permission property: The allowed permission.

Parameters:

permission - the permission value to set.

Returns:

the PermissionBindingInner object itself.

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:

topicSpaceName - the topicSpaceName value to set.

Returns:

the PermissionBindingInner object itself.

Applies to