Class GatewayOperatorProperties

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

public final class GatewayOperatorProperties extends Object implements com.azure.json.JsonSerializable<GatewayOperatorProperties>
Properties of the Spring Cloud Gateway Operator.
  • Constructor Details

    • GatewayOperatorProperties

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

    • resourceRequests

      public GatewayOperatorResourceRequests resourceRequests()
      Get the resourceRequests property: The requested resource quantity for required CPU and Memory.
      Returns:
      the resourceRequests value.
    • instances

      public List<GatewayInstance> instances()
      Get the instances property: Collection of instances belong to Spring Cloud Gateway operator.
      Returns:
      the instances value.
    • 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<GatewayOperatorProperties>
      Throws:
      IOException
    • fromJson

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