VpnServerConfigurationPolicyGroupInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VpnServerConfigurationPolicyGroupInner
- com.
- com.
public final class VpnServerConfigurationPolicyGroupInner
extends SubResource
VpnServerConfigurationPolicyGroup Resource.
Constructor Summary
Constructor | Description |
---|---|
VpnServerConfigurationPolicyGroupInner() |
Creates an instance of Vpn |
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
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
Boolean |
isDefault()
Get the is |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
List<Sub |
p2SConnectionConfigurations()
Get the p2SConnection |
List<Vpn |
policyMembers()
Get the policy |
Integer |
priority()
Get the priority property: Priority for Vpn |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Vpn |
withId(String id) |
Vpn |
withIsDefault(Boolean isDefault)
Set the is |
Vpn |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Vpn |
withPolicyMembers(List<VpnServerConfigurationPolicyGroupMember> policyMembers)
Set the policy |
Vpn |
withPriority(Integer priority)
Set the priority property: Priority for Vpn |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VpnServerConfigurationPolicyGroupInner
public VpnServerConfigurationPolicyGroupInner()
Creates an instance of VpnServerConfigurationPolicyGroupInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static VpnServerConfigurationPolicyGroupInner fromJson(JsonReader jsonReader)
Reads an instance of VpnServerConfigurationPolicyGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
Returns:
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:
p2SConnectionConfigurations
public List
Get the p2SConnectionConfigurations property: List of references to P2SConnectionConfigurations.
Returns:
policyMembers
public List
Get the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
Returns:
priority
public Integer priority()
Get the priority property: Priority for VpnServerConfigurationPolicyGroup.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VpnServerConfigurationPolicyGroup resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VpnServerConfigurationPolicyGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public VpnServerConfigurationPolicyGroupInner withId(String id)
Overrides:
VpnServerConfigurationPolicyGroupInner.withId(String id)Parameters:
withIsDefault
public VpnServerConfigurationPolicyGroupInner withIsDefault(Boolean isDefault)
Set the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
Parameters:
Returns:
withName
public VpnServerConfigurationPolicyGroupInner 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:
Returns:
withPolicyMembers
public VpnServerConfigurationPolicyGroupInner withPolicyMembers(List
Set the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
Parameters:
Returns:
withPriority
public VpnServerConfigurationPolicyGroupInner withPriority(Integer priority)
Set the priority property: Priority for VpnServerConfigurationPolicyGroup.
Parameters:
Returns:
Applies to
Azure SDK for Java