DataSourceCredentials.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
package com.azure.search.documents.indexes.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Represents credentials that can be used to connect to a datasource. */
@Fluent
public final class DataSourceCredentials {
/*
* The connection string for the datasource. Set to '<unchanged>' if you do
* not want the connection string updated.
*/
@JsonProperty(value = "connectionString")
private String connectionString;
/**
* Get the connectionString property: The connection string for the datasource. Set to '<unchanged>' if you do
* not want the connection string updated.
*
* @return the connectionString value.
*/
public String getConnectionString() {
return this.connectionString;
}
/**
* Set the connectionString property: The connection string for the datasource. Set to '<unchanged>' if you do
* not want the connection string updated.
*
* @param connectionString the connectionString value to set.
* @return the DataSourceCredentials object itself.
*/
public DataSourceCredentials setConnectionString(String connectionString) {
this.connectionString = connectionString;
return this;
}
}