SftpWriteSettings.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;
/** Sftp write settings. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("SftpWriteSettings")
@Fluent
public final class SftpWriteSettings extends StoreWriteSettings {
/*
* Specifies the timeout for writing each chunk to SFTP server. Default
* value: 01:00:00 (one hour). Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "operationTimeout")
private Object operationTimeout;
/*
* Upload to temporary file(s) and rename. Disable this option if your SFTP
* server doesn't support rename operation. Type: boolean (or Expression
* with resultType boolean).
*/
@JsonProperty(value = "useTempFileRename")
private Object useTempFileRename;
/**
* Get the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server. Default value:
* 01:00:00 (one hour). Type: string (or Expression with resultType string).
*
* @return the operationTimeout value.
*/
public Object getOperationTimeout() {
return this.operationTimeout;
}
/**
* Set the operationTimeout property: Specifies the timeout for writing each chunk to SFTP server. Default value:
* 01:00:00 (one hour). Type: string (or Expression with resultType string).
*
* @param operationTimeout the operationTimeout value to set.
* @return the SftpWriteSettings object itself.
*/
public SftpWriteSettings setOperationTimeout(Object operationTimeout) {
this.operationTimeout = operationTimeout;
return this;
}
/**
* Get the useTempFileRename property: Upload to temporary file(s) and rename. Disable this option if your SFTP
* server doesn't support rename operation. Type: boolean (or Expression with resultType boolean).
*
* @return the useTempFileRename value.
*/
public Object getUseTempFileRename() {
return this.useTempFileRename;
}
/**
* Set the useTempFileRename property: Upload to temporary file(s) and rename. Disable this option if your SFTP
* server doesn't support rename operation. Type: boolean (or Expression with resultType boolean).
*
* @param useTempFileRename the useTempFileRename value to set.
* @return the SftpWriteSettings object itself.
*/
public SftpWriteSettings setUseTempFileRename(Object useTempFileRename) {
this.useTempFileRename = useTempFileRename;
return this;
}
}