Class BackendPool

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.frontdoor.models.BackendPool

public final class BackendPool extends com.azure.core.management.SubResource
A backend pool is a collection of backends that can be routed to.
  • Constructor Details

    • BackendPool

      public BackendPool()
      Creates an instance of BackendPool class.
  • Method Details

    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • withName

      public BackendPool withName(String name)
      Set the name property: Resource name.
      Parameters:
      name - the name value to set.
      Returns:
      the BackendPool object itself.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • withId

      public BackendPool withId(String id)
      Overrides:
      withId in class com.azure.core.management.SubResource
    • resourceState

      public FrontDoorResourceState resourceState()
      Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

      Resource status.

      Returns:
      the resourceState value.
    • backends

      public List<Backend> backends()
      Get the backends property: The set of backends for this pool.
      Returns:
      the backends value.
    • withBackends

      public BackendPool withBackends(List<Backend> backends)
      Set the backends property: The set of backends for this pool.
      Parameters:
      backends - the backends value to set.
      Returns:
      the BackendPool object itself.
    • loadBalancingSettings

      public com.azure.core.management.SubResource loadBalancingSettings()
      Get the loadBalancingSettings property: Load balancing settings for a backend pool.
      Returns:
      the loadBalancingSettings value.
    • withLoadBalancingSettings

      public BackendPool withLoadBalancingSettings(com.azure.core.management.SubResource loadBalancingSettings)
      Set the loadBalancingSettings property: Load balancing settings for a backend pool.
      Parameters:
      loadBalancingSettings - the loadBalancingSettings value to set.
      Returns:
      the BackendPool object itself.
    • healthProbeSettings

      public com.azure.core.management.SubResource healthProbeSettings()
      Get the healthProbeSettings property: L7 health probe settings for a backend pool.
      Returns:
      the healthProbeSettings value.
    • withHealthProbeSettings

      public BackendPool withHealthProbeSettings(com.azure.core.management.SubResource healthProbeSettings)
      Set the healthProbeSettings property: L7 health probe settings for a backend pool.
      Parameters:
      healthProbeSettings - the healthProbeSettings value to set.
      Returns:
      the BackendPool object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.