Class LoadBalancerConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.LoadBalancerConfiguration
-
public final class LoadBalancerConfiguration extends Object
Describes the load balancer configuration.
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource Id.Stringname()Get the name property: The name of the Load balancer.LoadBalancerConfigurationPropertiesproperties()Get the properties property: Properties of the load balancer configuration.voidvalidate()Validates the instance.LoadBalancerConfigurationwithId(String id)Set the id property: Resource Id.LoadBalancerConfigurationwithName(String name)Set the name property: The name of the Load balancer.LoadBalancerConfigurationwithProperties(LoadBalancerConfigurationProperties properties)Set the properties property: Properties of the load balancer configuration.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource Id.- Returns:
- the id value.
-
withId
public LoadBalancerConfiguration withId(String id)
Set the id property: Resource Id.- Parameters:
id- the id value to set.- Returns:
- the LoadBalancerConfiguration object itself.
-
name
public String name()
Get the name property: The name of the Load balancer.- Returns:
- the name value.
-
withName
public LoadBalancerConfiguration withName(String name)
Set the name property: The name of the Load balancer.- Parameters:
name- the name value to set.- Returns:
- the LoadBalancerConfiguration object itself.
-
properties
public LoadBalancerConfigurationProperties properties()
Get the properties property: Properties of the load balancer configuration.- Returns:
- the properties value.
-
withProperties
public LoadBalancerConfiguration withProperties(LoadBalancerConfigurationProperties properties)
Set the properties property: Properties of the load balancer configuration.- Parameters:
properties- the properties value to set.- Returns:
- the LoadBalancerConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-