Class OutboundEnvironmentEndpointInner

java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>

public final class OutboundEnvironmentEndpointInner extends Object implements com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>
Egress endpoints which AKS agent nodes connect to for common purpose.
  • Constructor Details

    • OutboundEnvironmentEndpointInner

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

    • category

      public String category()
      Get the category property: The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management, apiserver, etc.
      Returns:
      the category value.
    • withCategory

      public OutboundEnvironmentEndpointInner withCategory(String category)
      Set the category property: The category of endpoints accessed by the AKS agent node, e.g. azure-resource-management, apiserver, etc.
      Parameters:
      category - the category value to set.
      Returns:
      the OutboundEnvironmentEndpointInner object itself.
    • endpoints

      public List<EndpointDependency> endpoints()
      Get the endpoints property: The endpoints that AKS agent nodes connect to.
      Returns:
      the endpoints value.
    • withEndpoints

      public OutboundEnvironmentEndpointInner withEndpoints(List<EndpointDependency> endpoints)
      Set the endpoints property: The endpoints that AKS agent nodes connect to.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the OutboundEnvironmentEndpointInner object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>
      Throws:
      IOException
    • fromJson

      public static OutboundEnvironmentEndpointInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OutboundEnvironmentEndpointInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the OutboundEnvironmentEndpointInner.