Class LoadBalancerBackendAddressPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.LoadBalancerBackendAddressPropertiesFormat
-
public final class LoadBalancerBackendAddressPropertiesFormat extends Object
Properties of the load balancer backend addresses.
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerBackendAddressPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NatRulePortMapping>inboundNatRulesPortMapping()Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.StringipAddress()Get the ipAddress property: IP Address belonging to the referenced virtual network.com.azure.core.management.SubResourceloadBalancerFrontendIpConfiguration()Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.com.azure.core.management.SubResourcenetworkInterfaceIpConfiguration()Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.com.azure.core.management.SubResourcesubnet()Get the subnet property: Reference to an existing subnet.voidvalidate()Validates the instance.com.azure.core.management.SubResourcevirtualNetwork()Get the virtualNetwork property: Reference to an existing virtual network.LoadBalancerBackendAddressPropertiesFormatwithIpAddress(String ipAddress)Set the ipAddress property: IP Address belonging to the referenced virtual network.LoadBalancerBackendAddressPropertiesFormatwithLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration)Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.LoadBalancerBackendAddressPropertiesFormatwithSubnet(com.azure.core.management.SubResource subnet)Set the subnet property: Reference to an existing subnet.LoadBalancerBackendAddressPropertiesFormatwithVirtualNetwork(com.azure.core.management.SubResource virtualNetwork)Set the virtualNetwork property: Reference to an existing virtual network.
-
-
-
Method Detail
-
virtualNetwork
public com.azure.core.management.SubResource virtualNetwork()
Get the virtualNetwork property: Reference to an existing virtual network.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
public LoadBalancerBackendAddressPropertiesFormat withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork)
Set the virtualNetwork property: Reference to an existing virtual network.- Parameters:
virtualNetwork- the virtualNetwork value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
subnet
public com.azure.core.management.SubResource subnet()
Get the subnet property: Reference to an existing subnet.- Returns:
- the subnet value.
-
withSubnet
public LoadBalancerBackendAddressPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: Reference to an existing subnet.- Parameters:
subnet- the subnet value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
ipAddress
public String ipAddress()
Get the ipAddress property: IP Address belonging to the referenced virtual network.- Returns:
- the ipAddress value.
-
withIpAddress
public LoadBalancerBackendAddressPropertiesFormat withIpAddress(String ipAddress)
Set the ipAddress property: IP Address belonging to the referenced virtual network.- Parameters:
ipAddress- the ipAddress value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
networkInterfaceIpConfiguration
public com.azure.core.management.SubResource networkInterfaceIpConfiguration()
Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces.- Returns:
- the networkInterfaceIpConfiguration value.
-
loadBalancerFrontendIpConfiguration
public com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration()
Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.- Returns:
- the loadBalancerFrontendIpConfiguration value.
-
withLoadBalancerFrontendIpConfiguration
public LoadBalancerBackendAddressPropertiesFormat withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration)
Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined in regional loadbalancer.- Parameters:
loadBalancerFrontendIpConfiguration- the loadBalancerFrontendIpConfiguration value to set.- Returns:
- the LoadBalancerBackendAddressPropertiesFormat object itself.
-
inboundNatRulesPortMapping
public List<NatRulePortMapping> inboundNatRulesPortMapping()
Get the inboundNatRulesPortMapping property: Collection of inbound NAT rule port mappings.- Returns:
- the inboundNatRulesPortMapping value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-