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

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

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

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.base.Optional;
import org.immutables.value.Value;

import java.util.Date;

@Value.Immutable
@Value.Style(visibility = Value.Style.ImplementationVisibility.PACKAGE)
@JsonSerialize(as = ImmutableTDSavedQueryStartRequest.class)
@JsonDeserialize(as = ImmutableTDSavedQueryStartRequest.class)
public abstract class TDSavedQueryStartRequest
{
    public abstract String name();
    public abstract Optional id();
    public abstract Date scheduledTime();
    public abstract Optional num();
    public abstract Optional domainKey();

    public interface Builder
    {
        Builder name(String name);
        Builder id(long id);
        Builder scheduledTime(Date scheduledTime);
        Builder num(Optional num);
        Builder num(int num);
        Builder domainKey(Optional domainKey);
        Builder domainKey(String domainKey);
        TDSavedQueryStartRequest build();
    }

    public static TDSavedQueryStartRequest.Builder builder()
    {
        return ImmutableTDSavedQueryStartRequest.builder();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy