Class LoadBalancerFrontendIpConfigurationProperties
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.LoadBalancerFrontendIpConfigurationProperties
-
public final class LoadBalancerFrontendIpConfigurationProperties extends Object
Describes a cloud service IP Configuration.
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerFrontendIpConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprivateIpAddress()Get the privateIpAddress property: The virtual network private IP address of the IP configuration.com.azure.core.management.SubResourcepublicIpAddress()Get the publicIpAddress property: The reference to the public ip address resource.com.azure.core.management.SubResourcesubnet()Get the subnet property: The reference to the virtual network subnet resource.voidvalidate()Validates the instance.LoadBalancerFrontendIpConfigurationPropertieswithPrivateIpAddress(String privateIpAddress)Set the privateIpAddress property: The virtual network private IP address of the IP configuration.LoadBalancerFrontendIpConfigurationPropertieswithPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)Set the publicIpAddress property: The reference to the public ip address resource.LoadBalancerFrontendIpConfigurationPropertieswithSubnet(com.azure.core.management.SubResource subnet)Set the subnet property: The reference to the virtual network subnet resource.
-
-
-
Method Detail
-
publicIpAddress
public com.azure.core.management.SubResource publicIpAddress()
Get the publicIpAddress property: The reference to the public ip address resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
public LoadBalancerFrontendIpConfigurationProperties withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
Set the publicIpAddress property: The reference to the public ip address resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
subnet
public com.azure.core.management.SubResource subnet()
Get the subnet property: The reference to the virtual network subnet resource.- Returns:
- the subnet value.
-
withSubnet
public LoadBalancerFrontendIpConfigurationProperties withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The reference to the virtual network subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The virtual network private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
public LoadBalancerFrontendIpConfigurationProperties withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The virtual network private IP address of the IP configuration.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-