VpnServerConfigurationPolicyGroupMember Class

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

Implements

public final class VpnServerConfigurationPolicyGroupMember
implements JsonSerializable<VpnServerConfigurationPolicyGroupMember>

VpnServerConfiguration PolicyGroup member.

Constructor Summary

Constructor Description
VpnServerConfigurationPolicyGroupMember()

Creates an instance of VpnServerConfigurationPolicyGroupMember class.

Method Summary

Modifier and Type Method and Description
VpnPolicyMemberAttributeType attributeType()

Get the attributeType property: The Vpn Policy member attribute type.

String attributeValue()

Get the attributeValue property: The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.

static VpnServerConfigurationPolicyGroupMember fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationPolicyGroupMember from the JsonReader.

String name()

Get the name property: Name of the VpnServerConfigurationPolicyGroupMember.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnServerConfigurationPolicyGroupMember withAttributeType(VpnPolicyMemberAttributeType attributeType)

Set the attributeType property: The Vpn Policy member attribute type.

VpnServerConfigurationPolicyGroupMember withAttributeValue(String attributeValue)

Set the attributeValue property: The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.

VpnServerConfigurationPolicyGroupMember withName(String name)

Set the name property: Name of the VpnServerConfigurationPolicyGroupMember.

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigurationPolicyGroupMember

public VpnServerConfigurationPolicyGroupMember()

Creates an instance of VpnServerConfigurationPolicyGroupMember class.

Method Details

attributeType

public VpnPolicyMemberAttributeType attributeType()

Get the attributeType property: The Vpn Policy member attribute type.

Returns:

the attributeType value.

attributeValue

public String attributeValue()

Get the attributeValue property: The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.

Returns:

the attributeValue value.

fromJson

public static VpnServerConfigurationPolicyGroupMember fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationPolicyGroupMember from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnServerConfigurationPolicyGroupMember 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 VpnServerConfigurationPolicyGroupMember.

name

public String name()

Get the name property: Name of the VpnServerConfigurationPolicyGroupMember.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAttributeType

public VpnServerConfigurationPolicyGroupMember withAttributeType(VpnPolicyMemberAttributeType attributeType)

Set the attributeType property: The Vpn Policy member attribute type.

Parameters:

attributeType - the attributeType value to set.

Returns:

the VpnServerConfigurationPolicyGroupMember object itself.

withAttributeValue

public VpnServerConfigurationPolicyGroupMember withAttributeValue(String attributeValue)

Set the attributeValue property: The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.

Parameters:

attributeValue - the attributeValue value to set.

Returns:

the VpnServerConfigurationPolicyGroupMember object itself.

withName

public VpnServerConfigurationPolicyGroupMember withName(String name)

Set the name property: Name of the VpnServerConfigurationPolicyGroupMember.

Parameters:

name - the name value to set.

Returns:

the VpnServerConfigurationPolicyGroupMember object itself.

Applies to