com.treasuredata.client.model.TDBulkLoadSessionStartRequestBuilder 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;
public class TDBulkLoadSessionStartRequestBuilder
{
private String scheduledTime;
private String domainKey;
TDBulkLoadSessionStartRequestBuilder()
{
}
public Optional getScheduledTime()
{
return Optional.fromNullable(scheduledTime);
}
public TDBulkLoadSessionStartRequestBuilder setScheduledTime(String scheduledTime)
{
this.scheduledTime = scheduledTime;
return this;
}
public TDBulkLoadSessionStartRequestBuilder setScheduledTime(long scheduledTime)
{
return setScheduledTime(String.valueOf(scheduledTime));
}
public TDBulkLoadSessionStartRequestBuilder setScheduledTime(Optional scheduledTime)
{
this.scheduledTime = scheduledTime.orNull();
return this;
}
public Optional getDomainKey()
{
return Optional.fromNullable(domainKey);
}
public TDBulkLoadSessionStartRequestBuilder setDomainKey(String domainKey)
{
this.domainKey = domainKey;
return this;
}
public TDBulkLoadSessionStartRequestBuilder setDomainKey(Optional domainKey)
{
return setDomainKey(domainKey.orNull());
}
public TDBulkLoadSessionStartRequest build()
{
return new TDBulkLoadSessionStartRequest(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy