Class AdvancedCustomProperties

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

public final class AdvancedCustomProperties extends Object implements com.azure.json.JsonSerializable<AdvancedCustomProperties>
Informatica Serverless advanced custom properties.
  • Constructor Details

    • AdvancedCustomProperties

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

    • key

      public String key()
      Get the key property: advanced custom properties key.
      Returns:
      the key value.
    • withKey

      public AdvancedCustomProperties withKey(String key)
      Set the key property: advanced custom properties key.
      Parameters:
      key - the key value to set.
      Returns:
      the AdvancedCustomProperties object itself.
    • value

      public String value()
      Get the value property: advanced custom properties value.
      Returns:
      the value value.
    • withValue

      public AdvancedCustomProperties withValue(String value)
      Set the value property: advanced custom properties value.
      Parameters:
      value - the value value to set.
      Returns:
      the AdvancedCustomProperties 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<AdvancedCustomProperties>
      Throws:
      IOException
    • fromJson

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