com.treasuredata.client.model.TDExportResultJobRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of td-client Show documentation
Show all versions of td-client Show documentation
Treasure Data Client for Java.
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