com.amazonaws.services.machinelearning.model.DescribeBatchPredictionsRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-osgi Show documentation
/*
 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
 * Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 *  http://aws.amazon.com/apache2.0
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
package com.amazonaws.services.machinelearning.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
 * 
 */
public class DescribeBatchPredictionsRequest extends AmazonWebServiceRequest
        implements Serializable, Cloneable {
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     */
    private String filterVariable;
    /**
     * 
     * The equal to operator. The BatchPrediction results will have
     * FilterVariable values that exactly match the value specified
     * with EQ.
     * 
     */
    private String eQ;
    /**
     * 
     * The greater than operator. The BatchPrediction results will
     * have FilterVariable values that are greater than the value
     * specified with GT.
     * 
     */
    private String gT;
    /**
     * 
     * The less than operator. The BatchPrediction results will
     * have FilterVariable values that are less than the value
     * specified with LT.
     * 
     */
    private String lT;
    /**
     * 
     * The greater than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are greater
     * than or equal to the value specified with GE.
     * 
     */
    private String gE;
    /**
     * 
     * The less than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are less than
     * or equal to the value specified with LE.
     * 
     */
    private String lE;
    /**
     * 
     * The not equal to operator. The BatchPrediction results will
     * have FilterVariable values not equal to the value specified
     * with NE.
     * 
     */
    private String nE;
    /**
     * 
     * A string that is found at the beginning of a variable, such as
     * Name or Id.
     * 
     * 
     * For example, a Batch Prediction operation could have the
     * Name 2014-09-09-HolidayGiftMailer. To search
     * for this BatchPrediction, select Name for the
     * FilterVariable and any of the following strings for the
     * Prefix:
     * 
     * 
     * - 
     * 
     * 2014-09
     * 
     *  
     * - 
     * 
     * 2014-09-09
     * 
     *  
     * - 
     * 
     * 2014-09-09-Holiday
     * 
     *  
     * 
     */
    private String prefix;
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     */
    private String sortOrder;
    /**
     * 
     * An ID of the page in the paginated results.
     * 
     */
    private String nextToken;
    /**
     * 
     * The number of pages of information to include in the result. The range of
     * acceptable values is 1 through 100. The default value is 100.
     * 
     */
    private Integer limit;
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     * 
     * @param filterVariable
     *        Use one of the following variables to filter a list of
     *        BatchPrediction:
     *        
     *        -  
CreatedAt - Sets the search criteria to the
     *        BatchPrediction creation date. 
     *        -  
Status - Sets the search criteria to the
     *        BatchPrediction status. 
     *        -  
Name - Sets the search criteria to the contents
     *        of the BatchPrediction  Name. 
     *        -  
IAMUser - Sets the search criteria to the user
     *        account that invoked the BatchPrediction creation. 
     *        -  
MLModelId - Sets the search criteria to the
     *        MLModel used in the BatchPrediction. 
     *        -  
DataSourceId - Sets the search criteria to the
     *        DataSource used in the BatchPrediction. 
     *        -  
DataURI - Sets the search criteria to the data
     *        file(s) used in the BatchPrediction. The URL can
     *        identify either a file or an Amazon Simple Storage Solution
     *        (Amazon S3) bucket or directory. 
     * @see BatchPredictionFilterVariable
     */
    public void setFilterVariable(String filterVariable) {
        this.filterVariable = filterVariable;
    }
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     * 
     * @return Use one of the following variables to filter a list of
     *         BatchPrediction:
     *         
     *         -  
CreatedAt - Sets the search criteria to the
     *         BatchPrediction creation date. 
     *         -  
Status - Sets the search criteria to the
     *         BatchPrediction status. 
     *         -  
Name - Sets the search criteria to the contents
     *         of the BatchPrediction  Name. 
     *         -  
IAMUser - Sets the search criteria to the user
     *         account that invoked the BatchPrediction creation. 
     *         -  
MLModelId - Sets the search criteria to the
     *         MLModel used in the BatchPrediction. 
     *         -  
DataSourceId - Sets the search criteria to the
     *         DataSource used in the BatchPrediction.
     *          
     *         -  
DataURI - Sets the search criteria to the data
     *         file(s) used in the BatchPrediction. The URL can
     *         identify either a file or an Amazon Simple Storage Solution
     *         (Amazon S3) bucket or directory. 
     * @see BatchPredictionFilterVariable
     */
    public String getFilterVariable() {
        return this.filterVariable;
    }
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     * 
     * @param filterVariable
     *        Use one of the following variables to filter a list of
     *        BatchPrediction:
     *        
     *        -  
CreatedAt - Sets the search criteria to the
     *        BatchPrediction creation date. 
     *        -  
Status - Sets the search criteria to the
     *        BatchPrediction status. 
     *        -  
Name - Sets the search criteria to the contents
     *        of the BatchPrediction  Name. 
     *        -  
IAMUser - Sets the search criteria to the user
     *        account that invoked the BatchPrediction creation. 
     *        -  
MLModelId - Sets the search criteria to the
     *        MLModel used in the BatchPrediction. 
     *        -  
DataSourceId - Sets the search criteria to the
     *        DataSource used in the BatchPrediction. 
     *        -  
DataURI - Sets the search criteria to the data
     *        file(s) used in the BatchPrediction. The URL can
     *        identify either a file or an Amazon Simple Storage Solution
     *        (Amazon S3) bucket or directory. 
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     * @see BatchPredictionFilterVariable
     */
    public DescribeBatchPredictionsRequest withFilterVariable(
            String filterVariable) {
        setFilterVariable(filterVariable);
        return this;
    }
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     * 
     * @param filterVariable
     *        Use one of the following variables to filter a list of
     *        BatchPrediction:
     *        
     *        -  
CreatedAt - Sets the search criteria to the
     *        BatchPrediction creation date. 
     *        -  
Status - Sets the search criteria to the
     *        BatchPrediction status. 
     *        -  
Name - Sets the search criteria to the contents
     *        of the BatchPrediction  Name. 
     *        -  
IAMUser - Sets the search criteria to the user
     *        account that invoked the BatchPrediction creation. 
     *        -  
MLModelId - Sets the search criteria to the
     *        MLModel used in the BatchPrediction. 
     *        -  
DataSourceId - Sets the search criteria to the
     *        DataSource used in the BatchPrediction. 
     *        -  
DataURI - Sets the search criteria to the data
     *        file(s) used in the BatchPrediction. The URL can
     *        identify either a file or an Amazon Simple Storage Solution
     *        (Amazon S3) bucket or directory. 
     * @see BatchPredictionFilterVariable
     */
    public void setFilterVariable(BatchPredictionFilterVariable filterVariable) {
        this.filterVariable = filterVariable.toString();
    }
    /**
     * 
     * Use one of the following variables to filter a list of
     * BatchPrediction:
     * 
     * 
     * -  
CreatedAt - Sets the search criteria to the
     * BatchPrediction creation date. 
     * -  
Status - Sets the search criteria to the
     * BatchPrediction status. 
     * -  
Name - Sets the search criteria to the contents of the
     * BatchPrediction  Name. 
     * -  
IAMUser - Sets the search criteria to the user account
     * that invoked the BatchPrediction creation. 
     * -  
MLModelId - Sets the search criteria to the
     * MLModel used in the BatchPrediction. 
     * -  
DataSourceId - Sets the search criteria to the
     * DataSource used in the BatchPrediction. 
     * -  
DataURI - Sets the search criteria to the data file(s)
     * used in the BatchPrediction. The URL can identify either a
     * file or an Amazon Simple Storage Solution (Amazon S3) bucket or
     * directory. 
     * 
     * 
     * @param filterVariable
     *        Use one of the following variables to filter a list of
     *        BatchPrediction:
     *        
     *        -  
CreatedAt - Sets the search criteria to the
     *        BatchPrediction creation date. 
     *        -  
Status - Sets the search criteria to the
     *        BatchPrediction status. 
     *        -  
Name - Sets the search criteria to the contents
     *        of the BatchPrediction  Name. 
     *        -  
IAMUser - Sets the search criteria to the user
     *        account that invoked the BatchPrediction creation. 
     *        -  
MLModelId - Sets the search criteria to the
     *        MLModel used in the BatchPrediction. 
     *        -  
DataSourceId - Sets the search criteria to the
     *        DataSource used in the BatchPrediction. 
     *        -  
DataURI - Sets the search criteria to the data
     *        file(s) used in the BatchPrediction. The URL can
     *        identify either a file or an Amazon Simple Storage Solution
     *        (Amazon S3) bucket or directory. 
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     * @see BatchPredictionFilterVariable
     */
    public DescribeBatchPredictionsRequest withFilterVariable(
            BatchPredictionFilterVariable filterVariable) {
        setFilterVariable(filterVariable);
        return this;
    }
    /**
     * 
     * The equal to operator. The BatchPrediction results will have
     * FilterVariable values that exactly match the value specified
     * with EQ.
     * 
     * 
     * @param eQ
     *        The equal to operator. The BatchPrediction results
     *        will have FilterVariable values that exactly match
     *        the value specified with EQ.
     */
    public void setEQ(String eQ) {
        this.eQ = eQ;
    }
    /**
     * 
     * The equal to operator. The BatchPrediction results will have
     * FilterVariable values that exactly match the value specified
     * with EQ.
     * 
     * 
     * @return The equal to operator. The BatchPrediction results
     *         will have FilterVariable values that exactly match
     *         the value specified with EQ.
     */
    public String getEQ() {
        return this.eQ;
    }
    /**
     * 
     * The equal to operator. The BatchPrediction results will have
     * FilterVariable values that exactly match the value specified
     * with EQ.
     * 
     * 
     * @param eQ
     *        The equal to operator. The BatchPrediction results
     *        will have FilterVariable values that exactly match
     *        the value specified with EQ.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withEQ(String eQ) {
        setEQ(eQ);
        return this;
    }
    /**
     * 
     * The greater than operator. The BatchPrediction results will
     * have FilterVariable values that are greater than the value
     * specified with GT.
     * 
     * 
     * @param gT
     *        The greater than operator. The BatchPrediction
     *        results will have FilterVariable values that are
     *        greater than the value specified with GT.
     */
    public void setGT(String gT) {
        this.gT = gT;
    }
    /**
     * 
     * The greater than operator. The BatchPrediction results will
     * have FilterVariable values that are greater than the value
     * specified with GT.
     * 
     * 
     * @return The greater than operator. The BatchPrediction
     *         results will have FilterVariable values that are
     *         greater than the value specified with GT.
     */
    public String getGT() {
        return this.gT;
    }
    /**
     * 
     * The greater than operator. The BatchPrediction results will
     * have FilterVariable values that are greater than the value
     * specified with GT.
     * 
     * 
     * @param gT
     *        The greater than operator. The BatchPrediction
     *        results will have FilterVariable values that are
     *        greater than the value specified with GT.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withGT(String gT) {
        setGT(gT);
        return this;
    }
    /**
     * 
     * The less than operator. The BatchPrediction results will
     * have FilterVariable values that are less than the value
     * specified with LT.
     * 
     * 
     * @param lT
     *        The less than operator. The BatchPrediction results
     *        will have FilterVariable values that are less than
     *        the value specified with LT.
     */
    public void setLT(String lT) {
        this.lT = lT;
    }
    /**
     * 
     * The less than operator. The BatchPrediction results will
     * have FilterVariable values that are less than the value
     * specified with LT.
     * 
     * 
     * @return The less than operator. The BatchPrediction results
     *         will have FilterVariable values that are less than
     *         the value specified with LT.
     */
    public String getLT() {
        return this.lT;
    }
    /**
     * 
     * The less than operator. The BatchPrediction results will
     * have FilterVariable values that are less than the value
     * specified with LT.
     * 
     * 
     * @param lT
     *        The less than operator. The BatchPrediction results
     *        will have FilterVariable values that are less than
     *        the value specified with LT.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withLT(String lT) {
        setLT(lT);
        return this;
    }
    /**
     * 
     * The greater than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are greater
     * than or equal to the value specified with GE.
     * 
     * 
     * @param gE
     *        The greater than or equal to operator. The
     *        BatchPrediction results will have
     *        FilterVariable values that are greater than or equal
     *        to the value specified with GE.
     */
    public void setGE(String gE) {
        this.gE = gE;
    }
    /**
     * 
     * The greater than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are greater
     * than or equal to the value specified with GE.
     * 
     * 
     * @return The greater than or equal to operator. The
     *         BatchPrediction results will have
     *         FilterVariable values that are greater than or equal
     *         to the value specified with GE.
     */
    public String getGE() {
        return this.gE;
    }
    /**
     * 
     * The greater than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are greater
     * than or equal to the value specified with GE.
     * 
     * 
     * @param gE
     *        The greater than or equal to operator. The
     *        BatchPrediction results will have
     *        FilterVariable values that are greater than or equal
     *        to the value specified with GE.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withGE(String gE) {
        setGE(gE);
        return this;
    }
    /**
     * 
     * The less than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are less than
     * or equal to the value specified with LE.
     * 
     * 
     * @param lE
     *        The less than or equal to operator. The
     *        BatchPrediction results will have
     *        FilterVariable values that are less than or equal to
     *        the value specified with LE.
     */
    public void setLE(String lE) {
        this.lE = lE;
    }
    /**
     * 
     * The less than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are less than
     * or equal to the value specified with LE.
     * 
     * 
     * @return The less than or equal to operator. The
     *         BatchPrediction results will have
     *         FilterVariable values that are less than or equal to
     *         the value specified with LE.
     */
    public String getLE() {
        return this.lE;
    }
    /**
     * 
     * The less than or equal to operator. The BatchPrediction
     * results will have FilterVariable values that are less than
     * or equal to the value specified with LE.
     * 
     * 
     * @param lE
     *        The less than or equal to operator. The
     *        BatchPrediction results will have
     *        FilterVariable values that are less than or equal to
     *        the value specified with LE.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withLE(String lE) {
        setLE(lE);
        return this;
    }
    /**
     * 
     * The not equal to operator. The BatchPrediction results will
     * have FilterVariable values not equal to the value specified
     * with NE.
     * 
     * 
     * @param nE
     *        The not equal to operator. The BatchPrediction
     *        results will have FilterVariable values not equal to
     *        the value specified with NE.
     */
    public void setNE(String nE) {
        this.nE = nE;
    }
    /**
     * 
     * The not equal to operator. The BatchPrediction results will
     * have FilterVariable values not equal to the value specified
     * with NE.
     * 
     * 
     * @return The not equal to operator. The BatchPrediction
     *         results will have FilterVariable values not equal to
     *         the value specified with NE.
     */
    public String getNE() {
        return this.nE;
    }
    /**
     * 
     * The not equal to operator. The BatchPrediction results will
     * have FilterVariable values not equal to the value specified
     * with NE.
     * 
     * 
     * @param nE
     *        The not equal to operator. The BatchPrediction
     *        results will have FilterVariable values not equal to
     *        the value specified with NE.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withNE(String nE) {
        setNE(nE);
        return this;
    }
    /**
     * 
     * A string that is found at the beginning of a variable, such as
     * Name or Id.
     * 
     * 
     * For example, a Batch Prediction operation could have the
     * Name 2014-09-09-HolidayGiftMailer. To search
     * for this BatchPrediction, select Name for the
     * FilterVariable and any of the following strings for the
     * Prefix:
     * 
     * 
     * - 
     * 
     * 2014-09
     * 
     *  
     * - 
     * 
     * 2014-09-09
     * 
     *  
     * - 
     * 
     * 2014-09-09-Holiday
     * 
     *  
     * 
     * 
     * @param prefix
     *        A string that is found at the beginning of a variable, such as
     *        Name or Id.
     *        
     *        For example, a Batch Prediction operation could have
     *        the Name 2014-09-09-HolidayGiftMailer.
     *        To search for this BatchPrediction, select
     *        Name for the FilterVariable and any of
     *        the following strings for the Prefix:
     *        
     *        
     *        - 
     *        
     *        2014-09
     *        
     *         
     *        - 
     *        
     *        2014-09-09
     *        
     *         
     *        - 
     *        
     *        2014-09-09-Holiday
     *        
     *         
     */
    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
    /**
     * 
     * A string that is found at the beginning of a variable, such as
     * Name or Id.
     * 
     * 
     * For example, a Batch Prediction operation could have the
     * Name 2014-09-09-HolidayGiftMailer. To search
     * for this BatchPrediction, select Name for the
     * FilterVariable and any of the following strings for the
     * Prefix:
     * 
     * 
     * - 
     * 
     * 2014-09
     * 
     *  
     * - 
     * 
     * 2014-09-09
     * 
     *  
     * - 
     * 
     * 2014-09-09-Holiday
     * 
     *  
     * 
     * 
     * @return A string that is found at the beginning of a variable, such as
     *         Name or Id.
     *         
     *         For example, a Batch Prediction operation could have
     *         the Name 2014-09-09-HolidayGiftMailer.
     *         To search for this BatchPrediction, select
     *         Name for the FilterVariable and any of
     *         the following strings for the Prefix:
     *         
     *         
     *         - 
     *         
     *         2014-09
     *         
     *          
     *         - 
     *         
     *         2014-09-09
     *         
     *          
     *         - 
     *         
     *         2014-09-09-Holiday
     *         
     *          
     */
    public String getPrefix() {
        return this.prefix;
    }
    /**
     * 
     * A string that is found at the beginning of a variable, such as
     * Name or Id.
     * 
     * 
     * For example, a Batch Prediction operation could have the
     * Name 2014-09-09-HolidayGiftMailer. To search
     * for this BatchPrediction, select Name for the
     * FilterVariable and any of the following strings for the
     * Prefix:
     * 
     * 
     * - 
     * 
     * 2014-09
     * 
     *  
     * - 
     * 
     * 2014-09-09
     * 
     *  
     * - 
     * 
     * 2014-09-09-Holiday
     * 
     *  
     * 
     * 
     * @param prefix
     *        A string that is found at the beginning of a variable, such as
     *        Name or Id.
     *        
     *        For example, a Batch Prediction operation could have
     *        the Name 2014-09-09-HolidayGiftMailer.
     *        To search for this BatchPrediction, select
     *        Name for the FilterVariable and any of
     *        the following strings for the Prefix:
     *        
     *        
     *        - 
     *        
     *        2014-09
     *        
     *         
     *        - 
     *        
     *        2014-09-09
     *        
     *         
     *        - 
     *        
     *        2014-09-09-Holiday
     *        
     *         
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withPrefix(String prefix) {
        setPrefix(prefix);
        return this;
    }
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     * 
     * @param sortOrder
     *        A two-value parameter that determines the sequence of the
     *        resulting list of MLModels.
     *        
     *        -  
asc - Arranges the list in ascending order (A-Z,
     *        0-9). 
     *        -  
dsc - Arranges the list in descending order (Z-A,
     *        9-0). 
     *        
     *        
     *        Results are sorted by FilterVariable.
     * @see SortOrder
     */
    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     * 
     * @return A two-value parameter that determines the sequence of the
     *         resulting list of MLModels.
     *         
     *         -  
asc - Arranges the list in ascending order (A-Z,
     *         0-9). 
     *         -  
dsc - Arranges the list in descending order
     *         (Z-A, 9-0). 
     *         
     *         
     *         Results are sorted by FilterVariable.
     * @see SortOrder
     */
    public String getSortOrder() {
        return this.sortOrder;
    }
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     * 
     * @param sortOrder
     *        A two-value parameter that determines the sequence of the
     *        resulting list of MLModels.
     *        
     *        -  
asc - Arranges the list in ascending order (A-Z,
     *        0-9). 
     *        -  
dsc - Arranges the list in descending order (Z-A,
     *        9-0). 
     *        
     *        
     *        Results are sorted by FilterVariable.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     * @see SortOrder
     */
    public DescribeBatchPredictionsRequest withSortOrder(String sortOrder) {
        setSortOrder(sortOrder);
        return this;
    }
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     * 
     * @param sortOrder
     *        A two-value parameter that determines the sequence of the
     *        resulting list of MLModels.
     *        
     *        -  
asc - Arranges the list in ascending order (A-Z,
     *        0-9). 
     *        -  
dsc - Arranges the list in descending order (Z-A,
     *        9-0). 
     *        
     *        
     *        Results are sorted by FilterVariable.
     * @see SortOrder
     */
    public void setSortOrder(SortOrder sortOrder) {
        this.sortOrder = sortOrder.toString();
    }
    /**
     * 
     * A two-value parameter that determines the sequence of the resulting list
     * of MLModels.
     * 
     * 
     * -  
asc - Arranges the list in ascending order (A-Z, 0-9). 
     * -  
dsc - Arranges the list in descending order (Z-A, 9-0). 
     * 
     * 
     * Results are sorted by FilterVariable.
     * 
     * 
     * @param sortOrder
     *        A two-value parameter that determines the sequence of the
     *        resulting list of MLModels.
     *        
     *        -  
asc - Arranges the list in ascending order (A-Z,
     *        0-9). 
     *        -  
dsc - Arranges the list in descending order (Z-A,
     *        9-0). 
     *        
     *        
     *        Results are sorted by FilterVariable.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     * @see SortOrder
     */
    public DescribeBatchPredictionsRequest withSortOrder(SortOrder sortOrder) {
        setSortOrder(sortOrder);
        return this;
    }
    /**
     * 
     * An ID of the page in the paginated results.
     * 
     * 
     * @param nextToken
     *        An ID of the page in the paginated results.
     */
    public void setNextToken(String nextToken) {
        this.nextToken = nextToken;
    }
    /**
     * 
     * An ID of the page in the paginated results.
     * 
     * 
     * @return An ID of the page in the paginated results.
     */
    public String getNextToken() {
        return this.nextToken;
    }
    /**
     * 
     * An ID of the page in the paginated results.
     * 
     * 
     * @param nextToken
     *        An ID of the page in the paginated results.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
    /**
     * 
     * The number of pages of information to include in the result. The range of
     * acceptable values is 1 through 100. The default value is 100.
     * 
     * 
     * @param limit
     *        The number of pages of information to include in the result. The
     *        range of acceptable values is 1 through 100. The default value is
     *        100.
     */
    public void setLimit(Integer limit) {
        this.limit = limit;
    }
    /**
     * 
     * The number of pages of information to include in the result. The range of
     * acceptable values is 1 through 100. The default value is 100.
     * 
     * 
     * @return The number of pages of information to include in the result. The
     *         range of acceptable values is 1 through 100. The default value is
     *         100.
     */
    public Integer getLimit() {
        return this.limit;
    }
    /**
     * 
     * The number of pages of information to include in the result. The range of
     * acceptable values is 1 through 100. The default value is 100.
     * 
     * 
     * @param limit
     *        The number of pages of information to include in the result. The
     *        range of acceptable values is 1 through 100. The default value is
     *        100.
     * @return Returns a reference to this object so that method calls can be
     *         chained together.
     */
    public DescribeBatchPredictionsRequest withLimit(Integer limit) {
        setLimit(limit);
        return this;
    }
    /**
     * Returns a string representation of this object; useful for testing and
     * debugging.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getFilterVariable() != null)
            sb.append("FilterVariable: " + getFilterVariable() + ",");
        if (getEQ() != null)
            sb.append("EQ: " + getEQ() + ",");
        if (getGT() != null)
            sb.append("GT: " + getGT() + ",");
        if (getLT() != null)
            sb.append("LT: " + getLT() + ",");
        if (getGE() != null)
            sb.append("GE: " + getGE() + ",");
        if (getLE() != null)
            sb.append("LE: " + getLE() + ",");
        if (getNE() != null)
            sb.append("NE: " + getNE() + ",");
        if (getPrefix() != null)
            sb.append("Prefix: " + getPrefix() + ",");
        if (getSortOrder() != null)
            sb.append("SortOrder: " + getSortOrder() + ",");
        if (getNextToken() != null)
            sb.append("NextToken: " + getNextToken() + ",");
        if (getLimit() != null)
            sb.append("Limit: " + getLimit());
        sb.append("}");
        return sb.toString();
    }
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (obj instanceof DescribeBatchPredictionsRequest == false)
            return false;
        DescribeBatchPredictionsRequest other = (DescribeBatchPredictionsRequest) obj;
        if (other.getFilterVariable() == null
                ^ this.getFilterVariable() == null)
            return false;
        if (other.getFilterVariable() != null
                && other.getFilterVariable().equals(this.getFilterVariable()) == false)
            return false;
        if (other.getEQ() == null ^ this.getEQ() == null)
            return false;
        if (other.getEQ() != null
                && other.getEQ().equals(this.getEQ()) == false)
            return false;
        if (other.getGT() == null ^ this.getGT() == null)
            return false;
        if (other.getGT() != null
                && other.getGT().equals(this.getGT()) == false)
            return false;
        if (other.getLT() == null ^ this.getLT() == null)
            return false;
        if (other.getLT() != null
                && other.getLT().equals(this.getLT()) == false)
            return false;
        if (other.getGE() == null ^ this.getGE() == null)
            return false;
        if (other.getGE() != null
                && other.getGE().equals(this.getGE()) == false)
            return false;
        if (other.getLE() == null ^ this.getLE() == null)
            return false;
        if (other.getLE() != null
                && other.getLE().equals(this.getLE()) == false)
            return false;
        if (other.getNE() == null ^ this.getNE() == null)
            return false;
        if (other.getNE() != null
                && other.getNE().equals(this.getNE()) == false)
            return false;
        if (other.getPrefix() == null ^ this.getPrefix() == null)
            return false;
        if (other.getPrefix() != null
                && other.getPrefix().equals(this.getPrefix()) == false)
            return false;
        if (other.getSortOrder() == null ^ this.getSortOrder() == null)
            return false;
        if (other.getSortOrder() != null
                && other.getSortOrder().equals(this.getSortOrder()) == false)
            return false;
        if (other.getNextToken() == null ^ this.getNextToken() == null)
            return false;
        if (other.getNextToken() != null
                && other.getNextToken().equals(this.getNextToken()) == false)
            return false;
        if (other.getLimit() == null ^ this.getLimit() == null)
            return false;
        if (other.getLimit() != null
                && other.getLimit().equals(this.getLimit()) == false)
            return false;
        return true;
    }
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        hashCode = prime
                * hashCode
                + ((getFilterVariable() == null) ? 0 : getFilterVariable()
                        .hashCode());
        hashCode = prime * hashCode
                + ((getEQ() == null) ? 0 : getEQ().hashCode());
        hashCode = prime * hashCode
                + ((getGT() == null) ? 0 : getGT().hashCode());
        hashCode = prime * hashCode
                + ((getLT() == null) ? 0 : getLT().hashCode());
        hashCode = prime * hashCode
                + ((getGE() == null) ? 0 : getGE().hashCode());
        hashCode = prime * hashCode
                + ((getLE() == null) ? 0 : getLE().hashCode());
        hashCode = prime * hashCode
                + ((getNE() == null) ? 0 : getNE().hashCode());
        hashCode = prime * hashCode
                + ((getPrefix() == null) ? 0 : getPrefix().hashCode());
        hashCode = prime * hashCode
                + ((getSortOrder() == null) ? 0 : getSortOrder().hashCode());
        hashCode = prime * hashCode
                + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
        hashCode = prime * hashCode
                + ((getLimit() == null) ? 0 : getLimit().hashCode());
        return hashCode;
    }
    @Override
    public DescribeBatchPredictionsRequest clone() {
        return (DescribeBatchPredictionsRequest) super.clone();
    }
}