VirtualNetworkGatewayPolicyGroupMember Class

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

Implements

public final class VirtualNetworkGatewayPolicyGroupMember
implements JsonSerializable<VirtualNetworkGatewayPolicyGroupMember>

Vpn Client Connection configuration PolicyGroup member.

Constructor Summary

Constructor Description
VirtualNetworkGatewayPolicyGroupMember()

Creates an instance of VirtualNetworkGatewayPolicyGroupMember 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 VirtualNetworkGatewayPolicyGroupMember.

static VirtualNetworkGatewayPolicyGroupMember fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayPolicyGroupMember from the JsonReader.

String name()

Get the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualNetworkGatewayPolicyGroupMember withAttributeType(VpnPolicyMemberAttributeType attributeType)

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

VirtualNetworkGatewayPolicyGroupMember withAttributeValue(String attributeValue)

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

VirtualNetworkGatewayPolicyGroupMember withName(String name)

Set the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayPolicyGroupMember

public VirtualNetworkGatewayPolicyGroupMember()

Creates an instance of VirtualNetworkGatewayPolicyGroupMember 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 VirtualNetworkGatewayPolicyGroupMember.

Returns:

the attributeValue value.

fromJson

public static VirtualNetworkGatewayPolicyGroupMember fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayPolicyGroupMember from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAttributeType

public VirtualNetworkGatewayPolicyGroupMember withAttributeType(VpnPolicyMemberAttributeType attributeType)

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

Parameters:

attributeType - the attributeType value to set.

Returns:

the VirtualNetworkGatewayPolicyGroupMember object itself.

withAttributeValue

public VirtualNetworkGatewayPolicyGroupMember withAttributeValue(String attributeValue)

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

Parameters:

attributeValue - the attributeValue value to set.

Returns:

the VirtualNetworkGatewayPolicyGroupMember object itself.

withName

public VirtualNetworkGatewayPolicyGroupMember withName(String name)

Set the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.

Parameters:

name - the name value to set.

Returns:

the VirtualNetworkGatewayPolicyGroupMember object itself.

Applies to