All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.treasuredata.client.model.TDExportResultJobRequest Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.treasuredata.client.model;

import com.google.common.base.Optional;
import org.immutables.builder.Builder;
import org.immutables.value.Value;

@Value.Style(typeBuilder = "TDExportResultJobRequestBuilder")
public class TDExportResultJobRequest
{
    private final String jobId;
    private final String resultOutput;
    private final String resultConnectionId;
    private final String resultConnectionSettings;

    private TDExportResultJobRequest(String jobId, String resultOutput, String reseultConnectionId, String resultConnectionSettings)
    {
        this.jobId = jobId;
        this.resultOutput = resultOutput;
        this.resultConnectionId = reseultConnectionId;
        this.resultConnectionSettings = resultConnectionSettings;
    }

    public String getJobId()
    {
        return jobId;
    }

    public String getResultOutput()
    {
        return resultOutput;
    }

    public String getResultConnectionId()
    {
        return resultConnectionId;
    }

    public String getResultConnectionSettings()
    {
        return resultConnectionSettings;
    }

    @Builder.Factory
    static TDExportResultJobRequest of(String jobId,
            Optional resultOutput,
            Optional resultConnectionId,
            Optional resultConnectionSettings)
    {
        return new TDExportResultJobRequest(jobId,
                resultOutput.or(""),
                resultConnectionId.or(""),
                resultConnectionSettings.or(""));
    }

    public static TDExportResultJobRequestBuilder builder()
    {
        return new TDExportResultJobRequestBuilder();
    }

    @Override
    public String toString()
    {
        return "TDExportResultJobRequest{" +
                "jobId='" + jobId + '\'' +
                ", resultOutput='" + resultOutput + '\'' +
                ", resultConnectionId='" + resultConnectionId + '\'' +
                ", resultConnectionSettings='" + resultConnectionSettings + '\'' +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy