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 | Description |
---|---|
Load |
Creates an instance of Load |
Modifier and Type | Method and Description |
---|---|
static
Load |
from 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 |
to |
void |
validate()
Validates the instance. |
Load |
with Set the id property: Resource Id. |
Load |
with Set the name property: The name of the Load balancer. |
Load |
with Set the properties property: Properties of the load balancer configuration. |
Methods inherited from java.lang.Object
LoadBalancerConfiguration
public LoadBalancerConfiguration()
Creates an instance of LoadBalancerConfiguration class.
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:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: