java.lang.Object
com.azure.resourcemanager.frontdoor.models.Endpoint

public final class Endpoint extends Object
Defines the endpoint properties.
  • Constructor Details

    • Endpoint

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

    • name

      public String name()
      Get the name property: The name of the endpoint.
      Returns:
      the name value.
    • withName

      public Endpoint withName(String name)
      Set the name property: The name of the endpoint.
      Parameters:
      name - the name value to set.
      Returns:
      the Endpoint object itself.
    • endpoint

      public String endpoint()
      Get the endpoint property: The endpoint URL.
      Returns:
      the endpoint value.
    • withEndpoint

      public Endpoint withEndpoint(String endpoint)
      Set the endpoint property: The endpoint URL.
      Parameters:
      endpoint - the endpoint value to set.
      Returns:
      the Endpoint object itself.
    • validate

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