Share via


ClientGroupInner Class

public final class ClientGroupInner
extends ProxyResource

The Client group resource.

Constructor Summary

Constructor Description
ClientGroupInner()

Creates an instance of ClientGroupInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description for the Client Group resource.

static ClientGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ClientGroupInner 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.

ClientGroupProvisioningState provisioningState()

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

String query()

Get the query property: The grouping query for the clients.

SystemData systemData()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ClientGroupInner withDescription(String description)

Set the description property: Description for the Client Group resource.

ClientGroupInner withQuery(String query)

Set the query property: The grouping query for the clients.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ClientGroupInner

public ClientGroupInner()

Creates an instance of ClientGroupInner class.

Method Details

description

public String description()

Get the description property: Description for the Client Group resource.

Returns:

the description value.

fromJson

public static ClientGroupInner fromJson(JsonReader jsonReader)

Reads an instance of ClientGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClientGroupInner 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:

ClientGroupInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ClientGroupInner.name()

Returns:

the name value.

provisioningState

public ClientGroupProvisioningState provisioningState()

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

Returns:

the provisioningState value.

query

public String query()

Get the query property: The grouping query for the clients. Example : attributes.keyName IN ['a', 'b', 'c'].

Returns:

the query 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:

ClientGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ClientGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public ClientGroupInner withDescription(String description)

Set the description property: Description for the Client Group resource.

Parameters:

description - the description value to set.

Returns:

the ClientGroupInner object itself.

withQuery

public ClientGroupInner withQuery(String query)

Set the query property: The grouping query for the clients. Example : attributes.keyName IN ['a', 'b', 'c'].

Parameters:

query - the query value to set.

Returns:

the ClientGroupInner object itself.

Applies to