Class IstioComponents

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

public final class IstioComponents extends Object implements com.azure.json.JsonSerializable<IstioComponents>
Istio components configuration.
  • Constructor Details

    • IstioComponents

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

    • ingressGateways

      public List<IstioIngressGateway> ingressGateways()
      Get the ingressGateways property: Istio ingress gateways.
      Returns:
      the ingressGateways value.
    • withIngressGateways

      public IstioComponents withIngressGateways(List<IstioIngressGateway> ingressGateways)
      Set the ingressGateways property: Istio ingress gateways.
      Parameters:
      ingressGateways - the ingressGateways value to set.
      Returns:
      the IstioComponents object itself.
    • egressGateways

      public List<IstioEgressGateway> egressGateways()
      Get the egressGateways property: Istio egress gateways.
      Returns:
      the egressGateways value.
    • withEgressGateways

      public IstioComponents withEgressGateways(List<IstioEgressGateway> egressGateways)
      Set the egressGateways property: Istio egress gateways.
      Parameters:
      egressGateways - the egressGateways value to set.
      Returns:
      the IstioComponents 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<IstioComponents>
      Throws:
      IOException
    • fromJson

      public static IstioComponents fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IstioComponents from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IstioComponents 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 IstioComponents.