LinkedIntegrationRuntimeKeyAuthorization.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/** The key authorization type integration runtime. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("Key")
@Fluent
public final class LinkedIntegrationRuntimeKeyAuthorization extends LinkedIntegrationRuntimeType {
/*
* The key used for authorization.
*/
@JsonProperty(value = "key", required = true)
private SecureString key;
/**
* Get the key property: The key used for authorization.
*
* @return the key value.
*/
public SecureString getKey() {
return this.key;
}
/**
* Set the key property: The key used for authorization.
*
* @param key the key value to set.
* @return the LinkedIntegrationRuntimeKeyAuthorization object itself.
*/
public LinkedIntegrationRuntimeKeyAuthorization setKey(SecureString key) {
this.key = key;
return this;
}
}