Class GatewayPropertiesEnvironmentVariables

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

public final class GatewayPropertiesEnvironmentVariables extends Object implements com.azure.json.JsonSerializable<GatewayPropertiesEnvironmentVariables>
Environment variables of Spring Cloud Gateway.
  • Constructor Details

    • GatewayPropertiesEnvironmentVariables

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

    • properties

      public Map<String,String> properties()
      Get the properties property: Non-sensitive properties.
      Returns:
      the properties value.
    • withProperties

      public GatewayPropertiesEnvironmentVariables withProperties(Map<String,String> properties)
      Set the properties property: Non-sensitive properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the GatewayPropertiesEnvironmentVariables object itself.
    • secrets

      public Map<String,String> secrets()
      Get the secrets property: Sensitive properties.
      Returns:
      the secrets value.
    • withSecrets

      public GatewayPropertiesEnvironmentVariables withSecrets(Map<String,String> secrets)
      Set the secrets property: Sensitive properties.
      Parameters:
      secrets - the secrets value to set.
      Returns:
      the GatewayPropertiesEnvironmentVariables 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<GatewayPropertiesEnvironmentVariables>
      Throws:
      IOException
    • fromJson

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