LoadBalancerConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LoadBalancerConfiguration
- com.
Implements
public final class LoadBalancerConfiguration
implements JsonSerializable<LoadBalancerConfiguration>
Describes the load balancer configuration.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancerConfiguration() |
Creates an instance of Load |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
String |
id()
Get the id property: Resource Id. |
String |
name()
Get the name property: The name of the Load balancer. |
Load |
properties()
Get the properties property: Properties of the load balancer configuration. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Load |
withId(String id)
Set the id property: Resource Id. |
Load |
withName(String name)
Set the name property: The name of the Load balancer. |
Load |
withProperties(LoadBalancerConfigurationProperties properties)
Set the properties property: Properties of the load balancer configuration. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerConfiguration
public LoadBalancerConfiguration()
Creates an instance of LoadBalancerConfiguration class.
Method Details
fromJson
public static LoadBalancerConfiguration fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
name
public String name()
Get the name property: The name of the Load balancer.
Returns:
properties
public LoadBalancerConfigurationProperties properties()
Get the properties property: Properties of the load balancer configuration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public LoadBalancerConfiguration withId(String id)
Set the id property: Resource Id.
Parameters:
Returns:
withName
public LoadBalancerConfiguration withName(String name)
Set the name property: The name of the Load balancer.
Parameters:
Returns:
withProperties
public LoadBalancerConfiguration withProperties(LoadBalancerConfigurationProperties properties)
Set the properties property: Properties of the load balancer configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java