IntegrationRuntimeCustomSetupScriptProperties.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;

/** Custom setup script properties for a managed dedicated integration runtime. */
@Fluent
public final class IntegrationRuntimeCustomSetupScriptProperties {
    /*
     * The URI of the Azure blob container that contains the custom setup
     * script.
     */
    @JsonProperty(value = "blobContainerUri")
    private String blobContainerUri;

    /*
     * The SAS token of the Azure blob container.
     */
    @JsonProperty(value = "sasToken")
    private SecureString sasToken;

    /**
     * Get the blobContainerUri property: The URI of the Azure blob container that contains the custom setup script.
     *
     * @return the blobContainerUri value.
     */
    public String getBlobContainerUri() {
        return this.blobContainerUri;
    }

    /**
     * Set the blobContainerUri property: The URI of the Azure blob container that contains the custom setup script.
     *
     * @param blobContainerUri the blobContainerUri value to set.
     * @return the IntegrationRuntimeCustomSetupScriptProperties object itself.
     */
    public IntegrationRuntimeCustomSetupScriptProperties setBlobContainerUri(String blobContainerUri) {
        this.blobContainerUri = blobContainerUri;
        return this;
    }

    /**
     * Get the sasToken property: The SAS token of the Azure blob container.
     *
     * @return the sasToken value.
     */
    public SecureString getSasToken() {
        return this.sasToken;
    }

    /**
     * Set the sasToken property: The SAS token of the Azure blob container.
     *
     * @param sasToken the sasToken value to set.
     * @return the IntegrationRuntimeCustomSetupScriptProperties object itself.
     */
    public IntegrationRuntimeCustomSetupScriptProperties setSasToken(SecureString sasToken) {
        this.sasToken = sasToken;
        return this;
    }
}