Class VpnSiteLinkInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.VpnSiteLinkInner
-
public final class VpnSiteLinkInner extends com.azure.core.management.SubResourceVpnSiteLink Resource.
-
-
Constructor Summary
Constructors Constructor Description VpnSiteLinkInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpnLinkBgpSettingsbgpProperties()Get the bgpProperties property: The set of bgp properties.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringfqdn()Get the fqdn property: FQDN of vpn-site-link.StringipAddress()Get the ipAddress property: The ip-address for the vpn-site-link.VpnLinkProviderPropertieslinkProperties()Get the linkProperties property: The link provider properties.Stringname()Get the name property: The name of the resource that is unique within a resource group.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the VPN site link resource.Stringtype()Get the type property: Resource type.voidvalidate()Validates the instance.VpnSiteLinkInnerwithBgpProperties(VpnLinkBgpSettings bgpProperties)Set the bgpProperties property: The set of bgp properties.VpnSiteLinkInnerwithFqdn(String fqdn)Set the fqdn property: FQDN of vpn-site-link.VpnSiteLinkInnerwithId(String id)VpnSiteLinkInnerwithIpAddress(String ipAddress)Set the ipAddress property: The ip-address for the vpn-site-link.VpnSiteLinkInnerwithLinkProperties(VpnLinkProviderProperties linkProperties)Set the linkProperties property: The link provider properties.VpnSiteLinkInnerwithName(String name)Set the name property: The name of the resource that is unique within a resource group.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag 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.
-
withName
public VpnSiteLinkInner 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 VpnSiteLinkInner object itself.
-
type
public String type()
Get the type property: Resource type.- Returns:
- the type value.
-
withId
public VpnSiteLinkInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
linkProperties
public VpnLinkProviderProperties linkProperties()
Get the linkProperties property: The link provider properties.- Returns:
- the linkProperties value.
-
withLinkProperties
public VpnSiteLinkInner withLinkProperties(VpnLinkProviderProperties linkProperties)
Set the linkProperties property: The link provider properties.- Parameters:
linkProperties- the linkProperties value to set.- Returns:
- the VpnSiteLinkInner object itself.
-
ipAddress
public String ipAddress()
Get the ipAddress property: The ip-address for the vpn-site-link.- Returns:
- the ipAddress value.
-
withIpAddress
public VpnSiteLinkInner withIpAddress(String ipAddress)
Set the ipAddress property: The ip-address for the vpn-site-link.- Parameters:
ipAddress- the ipAddress value to set.- Returns:
- the VpnSiteLinkInner object itself.
-
fqdn
public String fqdn()
Get the fqdn property: FQDN of vpn-site-link.- Returns:
- the fqdn value.
-
withFqdn
public VpnSiteLinkInner withFqdn(String fqdn)
Set the fqdn property: FQDN of vpn-site-link.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the VpnSiteLinkInner object itself.
-
bgpProperties
public VpnLinkBgpSettings bgpProperties()
Get the bgpProperties property: The set of bgp properties.- Returns:
- the bgpProperties value.
-
withBgpProperties
public VpnSiteLinkInner withBgpProperties(VpnLinkBgpSettings bgpProperties)
Set the bgpProperties property: The set of bgp properties.- Parameters:
bgpProperties- the bgpProperties value to set.- Returns:
- the VpnSiteLinkInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN site link resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-