VirtualNetworkGatewayPolicyGroup Class

public final class VirtualNetworkGatewayPolicyGroup
extends SubResource

Parameters for VirtualNetworkGatewayPolicyGroup.

Constructor Summary

Constructor Description
VirtualNetworkGatewayPolicyGroup()

Creates an instance of VirtualNetworkGatewayPolicyGroup class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VirtualNetworkGatewayPolicyGroup fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayPolicyGroup from the JsonReader.

Boolean isDefault()

Get the isDefault property: Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.

String name()

Get the name property: The name of the resource that is unique within a resource group.

List<VirtualNetworkGatewayPolicyGroupMember> policyMembers()

Get the policyMembers property: Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.

Integer priority()

Get the priority property: Priority for VirtualNetworkGatewayPolicyGroup.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SubResource> vngClientConnectionConfigurations()

Get the vngClientConnectionConfigurations property: List of references to vngClientConnectionConfigurations.

VirtualNetworkGatewayPolicyGroup withId(String id)
VirtualNetworkGatewayPolicyGroup withIsDefault(Boolean isDefault)

Set the isDefault property: Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.

VirtualNetworkGatewayPolicyGroup withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

VirtualNetworkGatewayPolicyGroup withPolicyMembers(List<VirtualNetworkGatewayPolicyGroupMember> policyMembers)

Set the policyMembers property: Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.

VirtualNetworkGatewayPolicyGroup withPriority(Integer priority)

Set the priority property: Priority for VirtualNetworkGatewayPolicyGroup.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayPolicyGroup

public VirtualNetworkGatewayPolicyGroup()

Creates an instance of VirtualNetworkGatewayPolicyGroup class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VirtualNetworkGatewayPolicyGroup fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayPolicyGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isDefault

public Boolean isDefault()

Get the isDefault property: Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.

Returns:

the isDefault value.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

policyMembers

public List policyMembers()

Get the policyMembers property: Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.

Returns:

the policyMembers value.

priority

public Integer priority()

Get the priority property: Priority for VirtualNetworkGatewayPolicyGroup.

Returns:

the priority value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VirtualNetworkGatewayPolicyGroup.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vngClientConnectionConfigurations

public List vngClientConnectionConfigurations()

Get the vngClientConnectionConfigurations property: List of references to vngClientConnectionConfigurations.

Returns:

the vngClientConnectionConfigurations value.

withId

public VirtualNetworkGatewayPolicyGroup withId(String id)

Overrides:

VirtualNetworkGatewayPolicyGroup.withId(String id)

Parameters:

id

withIsDefault

public VirtualNetworkGatewayPolicyGroup withIsDefault(Boolean isDefault)

Set the isDefault property: Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.

Parameters:

isDefault - the isDefault value to set.

Returns:

the VirtualNetworkGatewayPolicyGroup object itself.

withName

public VirtualNetworkGatewayPolicyGroup withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the VirtualNetworkGatewayPolicyGroup object itself.

withPolicyMembers

public VirtualNetworkGatewayPolicyGroup withPolicyMembers(List policyMembers)

Set the policyMembers property: Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.

Parameters:

policyMembers - the policyMembers value to set.

Returns:

the VirtualNetworkGatewayPolicyGroup object itself.

withPriority

public VirtualNetworkGatewayPolicyGroup withPriority(Integer priority)

Set the priority property: Priority for VirtualNetworkGatewayPolicyGroup.

Parameters:

priority - the priority value to set.

Returns:

the VirtualNetworkGatewayPolicyGroup object itself.

Applies to