共用方式為


ConfigurationGroup Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConfigurationGroup

Implements

public final class ConfigurationGroup
implements JsonSerializable<ConfigurationGroup>

The network configuration group resource.

Constructor Summary

Constructor Description
ConfigurationGroup()

Creates an instance of ConfigurationGroup class.

Method Summary

Modifier and Type Method and Description
String description()

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

static ConfigurationGroup fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationGroup from the JsonReader.

String id()

Get the id property: Network group ID.

GroupMemberType memberType()

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

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigurationGroup withDescription(String description)

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

ConfigurationGroup withId(String id)

Set the id property: Network group ID.

ConfigurationGroup withMemberType(GroupMemberType memberType)

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

Methods inherited from java.lang.Object

Constructor Details

ConfigurationGroup

public ConfigurationGroup()

Creates an instance of ConfigurationGroup class.

Method Details

description

public String description()

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

Returns:

the description value.

fromJson

public static ConfigurationGroup fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ConfigurationGroup.

id

public String id()

Get the id property: Network group ID.

Returns:

the id value.

memberType

public GroupMemberType memberType()

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

Returns:

the memberType 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public ConfigurationGroup withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the ConfigurationGroup object itself.

withId

public ConfigurationGroup withId(String id)

Set the id property: Network group ID.

Parameters:

id - the id value to set.

Returns:

the ConfigurationGroup object itself.

withMemberType

public ConfigurationGroup withMemberType(GroupMemberType memberType)

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

Parameters:

memberType - the memberType value to set.

Returns:

the ConfigurationGroup object itself.

Applies to