com.silanis.esl.sdk.builder.AccountUploadSettingsBuilder Maven / Gradle / Ivy
The newest version!
package com.silanis.esl.sdk.builder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.silanis.esl.api.model.Model;
import com.silanis.esl.sdk.AccountUploadSettings;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountUploadSettingsBuilder extends Model
implements java.io.Serializable{
protected List allowedFileTypes = null;
public AccountUploadSettingsBuilder() {
/*
Empty constructor
*/
}
/**
* Creates a new Account upload Settings builder.
*
* @return This
*/
public static AccountUploadSettingsBuilder newUploadSettings() {
return new AccountUploadSettingsBuilder();
}
/**
* Set allowedFileTypes in AccountUploadSettings.
*
* DEFAULT: []
*
*
* @return This
*/
public AccountUploadSettingsBuilder withAllowedFileTypes(List value) {
allowedFileTypes = value;
return this;
}
public AccountUploadSettings build() {
AccountUploadSettings result = new AccountUploadSettings();
result.setAllowedFileTypes(allowedFileTypes);
return result;
}
}