NetworkGroupInner Class

public final class NetworkGroupInner
extends ChildResource

The network group resource.

Constructor Summary

Constructor Description
NetworkGroupInner()

Creates an instance of NetworkGroupInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: A description of the network group.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static NetworkGroupInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkGroupInner from the JsonReader.

String id()

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

GroupMemberType memberType()

Get the memberType property: The type of the group member.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the scope assignment resource.

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

NetworkGroupInner withDescription(String description)

Set the description property: A description of the network group.

NetworkGroupInner withMemberType(GroupMemberType memberType)

Set the memberType property: The type of the group member.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

NetworkGroupInner

public NetworkGroupInner()

Creates an instance of NetworkGroupInner class.

Method Details

description

public String description()

Get the description property: A description of the network group.

Returns:

the description value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Overrides:

NetworkGroupInner.etag()

Returns:

the etag value.

fromJson

public static NetworkGroupInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

NetworkGroupInner.id()

Returns:

the id value.

memberType

public GroupMemberType memberType()

Get the memberType property: The type of the group member.

Returns:

the memberType value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkGroupInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the scope assignment resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

NetworkGroupInner.validate()

withDescription

public NetworkGroupInner withDescription(String description)

Set the description property: A description of the network group.

Parameters:

description - the description value to set.

Returns:

the NetworkGroupInner object itself.

withMemberType

public NetworkGroupInner withMemberType(GroupMemberType memberType)

Set the memberType property: The type of the group member.

Parameters:

memberType - the memberType value to set.

Returns:

the NetworkGroupInner object itself.

Applies to