Class VpnServerConfigurationPolicyGroupMember

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

public final class VpnServerConfigurationPolicyGroupMember extends Object implements com.azure.json.JsonSerializable<VpnServerConfigurationPolicyGroupMember>
VpnServerConfiguration PolicyGroup member.
  • Constructor Details

    • VpnServerConfigurationPolicyGroupMember

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

    • name

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

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

      public VpnPolicyMemberAttributeType attributeType()
      Get the attributeType property: The Vpn Policy member attribute type.
      Returns:
      the attributeType value.
    • withAttributeType

      Set the attributeType property: The Vpn Policy member attribute type.
      Parameters:
      attributeType - the attributeType value to set.
      Returns:
      the VpnServerConfigurationPolicyGroupMember object itself.
    • attributeValue

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

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