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 Summary
ConstructorsConstructorDescriptionCreates an instance of ServerlessRuntimeUserContextProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerlessRuntimeUserContextProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the userContextToken property: User context token for OBO flow.voidvalidate()Validates the instance.withUserContextToken(String userContextToken) Set the userContextToken property: User context token for OBO flow.
-
Constructor Details
-
ServerlessRuntimeUserContextProperties
public ServerlessRuntimeUserContextProperties()Creates an instance of ServerlessRuntimeUserContextProperties class.
-
-
Method Details
-
userContextToken
Get the userContextToken property: User context token for OBO flow.- Returns:
- the userContextToken value.
-
withUserContextToken
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
- Specified by:
toJsonin interfacecom.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.
-