GroupIdInformationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.digitaltwins.fluent.models.GroupIdInformationInner

Implements

public final class GroupIdInformationInner
implements JsonSerializable<GroupIdInformationInner>

The group information for creating a private endpoint on Digital Twin.

Constructor Summary

Constructor Description
GroupIdInformationInner()

Creates an instance of GroupIdInformationInner class.

Method Summary

Modifier and Type Method and Description
static GroupIdInformationInner fromJson(JsonReader jsonReader)

Reads an instance of GroupIdInformationInner from the JsonReader.

String id()

Get the id property: The resource identifier.

String name()

Get the name property: The resource name.

GroupIdInformationProperties properties()

Get the properties property: The group information properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

GroupIdInformationInner withId(String id)

Set the id property: The resource identifier.

GroupIdInformationInner withProperties(GroupIdInformationProperties properties)

Set the properties property: The group information properties.

Methods inherited from java.lang.Object

Constructor Details

GroupIdInformationInner

public GroupIdInformationInner()

Creates an instance of GroupIdInformationInner class.

Method Details

fromJson

public static GroupIdInformationInner fromJson(JsonReader jsonReader)

Reads an instance of GroupIdInformationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GroupIdInformationInner 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: The resource identifier.

Returns:

the id value.

name

public String name()

Get the name property: The resource name.

Returns:

the name value.

properties

public GroupIdInformationProperties properties()

Get the properties property: The group information properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public GroupIdInformationInner withId(String id)

Set the id property: The resource identifier.

Parameters:

id - the id value to set.

Returns:

the GroupIdInformationInner object itself.

withProperties

public GroupIdInformationInner withProperties(GroupIdInformationProperties properties)

Set the properties property: The group information properties.

Parameters:

properties - the properties value to set.

Returns:

the GroupIdInformationInner object itself.

Applies to