Class VirtualNetworkGatewayPolicyGroupMember

java.lang.Object
com.azure.resourcemanager.network.models.VirtualNetworkGatewayPolicyGroupMember
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualNetworkGatewayPolicyGroupMember>

public final class VirtualNetworkGatewayPolicyGroupMember extends Object implements com.azure.json.JsonSerializable<VirtualNetworkGatewayPolicyGroupMember>
Vpn Client Connection configuration PolicyGroup member.
  • Constructor Details

    • VirtualNetworkGatewayPolicyGroupMember

      public VirtualNetworkGatewayPolicyGroupMember()
      Creates an instance of VirtualNetworkGatewayPolicyGroupMember class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.
      Parameters:
      name - the name value to set.
      Returns:
      the VirtualNetworkGatewayPolicyGroupMember object itself.
    • attributeType

      public VpnPolicyMemberAttributeType attributeType()
      Get the attributeType property: The Vpn Policy member attribute type.
      Returns:
      the attributeType value.
    • 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.
    • attributeValue

      public String attributeValue()
      Get the attributeValue property: The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
      Returns:
      the attributeValue value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualNetworkGatewayPolicyGroupMember>
      Throws:
      IOException
    • fromJson

      public static VirtualNetworkGatewayPolicyGroupMember fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.