Class P2SConnectionConfigurationProperties
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.P2SConnectionConfigurationProperties
-
public final class P2SConnectionConfigurationProperties extends Object
Parameters for P2SConnectionConfiguration.
-
-
Constructor Summary
Constructors Constructor Description P2SConnectionConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanenableInternetSecurity()Get the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the P2SConnectionConfiguration resource.RoutingConfigurationroutingConfiguration()Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.voidvalidate()Validates the instance.AddressSpacevpnClientAddressPool()Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.P2SConnectionConfigurationPropertieswithEnableInternetSecurity(Boolean enableInternetSecurity)Set the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.P2SConnectionConfigurationPropertieswithRoutingConfiguration(RoutingConfiguration routingConfiguration)Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.P2SConnectionConfigurationPropertieswithVpnClientAddressPool(AddressSpace vpnClientAddressPool)Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.
-
-
-
Method Detail
-
vpnClientAddressPool
public AddressSpace vpnClientAddressPool()
Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.- Returns:
- the vpnClientAddressPool value.
-
withVpnClientAddressPool
public P2SConnectionConfigurationProperties withVpnClientAddressPool(AddressSpace vpnClientAddressPool)
Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.- Parameters:
vpnClientAddressPool- the vpnClientAddressPool value to set.- Returns:
- the P2SConnectionConfigurationProperties object itself.
-
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public P2SConnectionConfigurationProperties withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Parameters:
routingConfiguration- the routingConfiguration value to set.- Returns:
- the P2SConnectionConfigurationProperties object itself.
-
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public P2SConnectionConfigurationProperties withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the P2SConnectionConfigurationProperties object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the P2SConnectionConfiguration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-