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
String authorizationType()

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

static LinkedIntegrationRuntimeKeyAuthorization fromJson(JsonReader jsonReader)

Reads an instance of LinkedIntegrationRuntimeKeyAuthorization from the JsonReader.

SecureString key()

Get the key property: The key used for authorization.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LinkedIntegrationRuntimeKeyAuthorization withKey(SecureString key)

Set the key property: The key used for authorization.

Methods inherited from LinkedIntegrationRuntimeType

Methods inherited from java.lang.Object

Constructor Details

LinkedIntegrationRuntimeKeyAuthorization

public LinkedIntegrationRuntimeKeyAuthorization()

Creates an instance of LinkedIntegrationRuntimeKeyAuthorization class.

Method Details

authorizationType

public String authorizationType()

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

Overrides:

LinkedIntegrationRuntimeKeyAuthorization.authorizationType()

Returns:

the authorizationType value.

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.

key

public SecureString key()

Get the key property: The key used for authorization.

Returns:

the key value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LinkedIntegrationRuntimeKeyAuthorization.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

LinkedIntegrationRuntimeKeyAuthorization.validate()

withKey

public LinkedIntegrationRuntimeKeyAuthorization withKey(SecureString key)

Set the key property: The key used for authorization.

Parameters:

key - the key value to set.

Returns:

the LinkedIntegrationRuntimeKeyAuthorization object itself.

Applies to