ApplicationGatewayLoadDistributionTargetPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayLoadDistributionTargetPropertiesFormat
- com.
Implements
public final class ApplicationGatewayLoadDistributionTargetPropertiesFormat
implements JsonSerializable<ApplicationGatewayLoadDistributionTargetPropertiesFormat>
The ApplicationGatewayLoadDistributionTargetPropertiesFormat model.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayLoadDistributionTargetPropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sub |
backendAddressPool()
Get the backend |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Integer |
weightPerServer()
Get the weight |
|
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
|
Application |
withWeightPerServer(Integer weightPerServer)
Set the weight |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayLoadDistributionTargetPropertiesFormat
public ApplicationGatewayLoadDistributionTargetPropertiesFormat()
Creates an instance of ApplicationGatewayLoadDistributionTargetPropertiesFormat class.
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of the application gateway.
Returns:
fromJson
public static ApplicationGatewayLoadDistributionTargetPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayLoadDistributionTargetPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
weightPerServer
public Integer weightPerServer()
Get the weightPerServer property: Weight per server. Range between 1 and 100.
Returns:
withBackendAddressPool
public ApplicationGatewayLoadDistributionTargetPropertiesFormat withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the application gateway.
Parameters:
Returns:
withWeightPerServer
public ApplicationGatewayLoadDistributionTargetPropertiesFormat withWeightPerServer(Integer weightPerServer)
Set the weightPerServer property: Weight per server. Range between 1 and 100.
Parameters:
Returns: