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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the egressGateways property: Istio egress gateways.static IstioComponentsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IstioComponents from the JsonReader.Get the ingressGateways property: Istio ingress gateways.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEgressGateways(List<IstioEgressGateway> egressGateways) Set the egressGateways property: Istio egress gateways.withIngressGateways(List<IstioIngressGateway> ingressGateways) Set the ingressGateways property: Istio ingress gateways.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
IstioComponents
public IstioComponents()Creates an instance of IstioComponents class.
-
-
Method Details
-
ingressGateways
Get the ingressGateways property: Istio ingress gateways.- Returns:
- the ingressGateways value.
-
withIngressGateways
Set the ingressGateways property: Istio ingress gateways.- Parameters:
ingressGateways- the ingressGateways value to set.- Returns:
- the IstioComponents object itself.
-
egressGateways
Get the egressGateways property: Istio egress gateways.- Returns:
- the egressGateways value.
-
withEgressGateways
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IstioComponents>- Throws:
IOException
-
fromJson
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.
-