Class ServerlessRuntimeUserContextProperties

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

public final class ServerlessRuntimeUserContextProperties extends Object implements com.azure.json.JsonSerializable<ServerlessRuntimeUserContextProperties>
Informatica Serverless Runtime User context properties.
  • Constructor Details

    • ServerlessRuntimeUserContextProperties

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

    • userContextToken

      public String userContextToken()
      Get the userContextToken property: User context token for OBO flow.
      Returns:
      the userContextToken value.
    • withUserContextToken

      public ServerlessRuntimeUserContextProperties withUserContextToken(String userContextToken)
      Set the userContextToken property: User context token for OBO flow.
      Parameters:
      userContextToken - the userContextToken value to set.
      Returns:
      the ServerlessRuntimeUserContextProperties 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<ServerlessRuntimeUserContextProperties>
      Throws:
      IOException
    • fromJson

      public static ServerlessRuntimeUserContextProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServerlessRuntimeUserContextProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServerlessRuntimeUserContextProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ServerlessRuntimeUserContextProperties.