LinkedIntegrationRuntimeKeyAuthorization Class

public final class LinkedIntegrationRuntimeKeyAuthorization
extends LinkedIntegrationRuntimeType

The key authorization type integration runtime.

Constructor Summary

Constructor Description
LinkedIntegrationRuntimeKeyAuthorization()

Creates an instance of LinkedIntegrationRuntimeKeyAuthorization class.

Method Summary

Modifier and Type Method and Description
static LinkedIntegrationRuntimeKeyAuthorization fromJson(JsonReader jsonReader)

Reads an instance of LinkedIntegrationRuntimeKeyAuthorization from the JsonReader.

String getAuthorizationType()

Get the authorizationType property: The authorization type for integration runtime sharing.

SecureString getKey()

Get the key property: The key used for authorization.

LinkedIntegrationRuntimeKeyAuthorization setKey(SecureString key)

Set the key property: The key used for authorization.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from LinkedIntegrationRuntimeType

Methods inherited from java.lang.Object

Constructor Details

LinkedIntegrationRuntimeKeyAuthorization

public LinkedIntegrationRuntimeKeyAuthorization()

Creates an instance of LinkedIntegrationRuntimeKeyAuthorization class.

Method Details

fromJson

public static LinkedIntegrationRuntimeKeyAuthorization fromJson(JsonReader jsonReader)

Reads an instance of LinkedIntegrationRuntimeKeyAuthorization from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LinkedIntegrationRuntimeKeyAuthorization if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAuthorizationType

public String getAuthorizationType()

Get the authorizationType property: The authorization type for integration runtime sharing.

Overrides:

LinkedIntegrationRuntimeKeyAuthorization.getAuthorizationType()

Returns:

the authorizationType value.

getKey

public SecureString getKey()

Get the key property: The key used for authorization.

Returns:

the key value.

setKey

public LinkedIntegrationRuntimeKeyAuthorization setKey(SecureString key)

Set the key property: The key used for authorization.

Parameters:

key - the key value to set.

Returns:

the LinkedIntegrationRuntimeKeyAuthorization object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LinkedIntegrationRuntimeKeyAuthorization.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to