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 Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualNetworkGatewayPolicyGroupMember class. -
Method Summary
Modifier and TypeMethodDescriptionGet the attributeType property: The Vpn Policy member attribute type.Get the attributeValue property: The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualNetworkGatewayPolicyGroupMember from the JsonReader.name()Get the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAttributeType(VpnPolicyMemberAttributeType attributeType) Set the attributeType property: The Vpn Policy member attribute type.withAttributeValue(String attributeValue) Set the attributeValue property: The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.Set the name property: Name of the VirtualNetworkGatewayPolicyGroupMember.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualNetworkGatewayPolicyGroupMember
public VirtualNetworkGatewayPolicyGroupMember()Creates an instance of VirtualNetworkGatewayPolicyGroupMember class.
-
-
Method Details
-
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
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
Get the attributeValue property: The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.- Returns:
- the attributeValue value.
-
withAttributeValue
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
- Specified by:
toJsonin interfacecom.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.
-