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

com.amazonaws.services.forecast.model.DescribeDatasetGroupResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Forecast module holds the client classes that are used for communicating with Amazon Forecast Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 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.forecast.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeDatasetGroupResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* The name of the dataset group. *

*/ private String datasetGroupName; /** *

* The ARN of the dataset group. *

*/ private String datasetGroupArn; /** *

* An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. *

*/ private java.util.List datasetArns; /** *

* The domain associated with the dataset group. *

*/ private String domain; /** *

* The status of the dataset group. States include: *

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset group to * create a predictor. *

*
*/ private String status; /** *

* When the dataset group was created. *

*/ private java.util.Date creationTime; /** *

* When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time of the * DescribeDatasetGroup call. *

*/ private java.util.Date lastModificationTime; /** *

* The name of the dataset group. *

* * @param datasetGroupName * The name of the dataset group. */ public void setDatasetGroupName(String datasetGroupName) { this.datasetGroupName = datasetGroupName; } /** *

* The name of the dataset group. *

* * @return The name of the dataset group. */ public String getDatasetGroupName() { return this.datasetGroupName; } /** *

* The name of the dataset group. *

* * @param datasetGroupName * The name of the dataset group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withDatasetGroupName(String datasetGroupName) { setDatasetGroupName(datasetGroupName); return this; } /** *

* The ARN of the dataset group. *

* * @param datasetGroupArn * The ARN of the dataset group. */ public void setDatasetGroupArn(String datasetGroupArn) { this.datasetGroupArn = datasetGroupArn; } /** *

* The ARN of the dataset group. *

* * @return The ARN of the dataset group. */ public String getDatasetGroupArn() { return this.datasetGroupArn; } /** *

* The ARN of the dataset group. *

* * @param datasetGroupArn * The ARN of the dataset group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withDatasetGroupArn(String datasetGroupArn) { setDatasetGroupArn(datasetGroupArn); return this; } /** *

* An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. *

* * @return An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. */ public java.util.List getDatasetArns() { return datasetArns; } /** *

* An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. *

* * @param datasetArns * An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. */ public void setDatasetArns(java.util.Collection datasetArns) { if (datasetArns == null) { this.datasetArns = null; return; } this.datasetArns = new java.util.ArrayList(datasetArns); } /** *

* An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDatasetArns(java.util.Collection)} or {@link #withDatasetArns(java.util.Collection)} if you want to * override the existing values. *

* * @param datasetArns * An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withDatasetArns(String... datasetArns) { if (this.datasetArns == null) { setDatasetArns(new java.util.ArrayList(datasetArns.length)); } for (String ele : datasetArns) { this.datasetArns.add(ele); } return this; } /** *

* An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. *

* * @param datasetArns * An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withDatasetArns(java.util.Collection datasetArns) { setDatasetArns(datasetArns); return this; } /** *

* The domain associated with the dataset group. *

* * @param domain * The domain associated with the dataset group. * @see Domain */ public void setDomain(String domain) { this.domain = domain; } /** *

* The domain associated with the dataset group. *

* * @return The domain associated with the dataset group. * @see Domain */ public String getDomain() { return this.domain; } /** *

* The domain associated with the dataset group. *

* * @param domain * The domain associated with the dataset group. * @return Returns a reference to this object so that method calls can be chained together. * @see Domain */ public DescribeDatasetGroupResult withDomain(String domain) { setDomain(domain); return this; } /** *

* The domain associated with the dataset group. *

* * @param domain * The domain associated with the dataset group. * @return Returns a reference to this object so that method calls can be chained together. * @see Domain */ public DescribeDatasetGroupResult withDomain(Domain domain) { this.domain = domain.toString(); return this; } /** *

* The status of the dataset group. States include: *

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset group to * create a predictor. *

*
* * @param status * The status of the dataset group. States include:

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset * group to create a predictor. *

*/ public void setStatus(String status) { this.status = status; } /** *

* The status of the dataset group. States include: *

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset group to * create a predictor. *

*
* * @return The status of the dataset group. States include:

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset * group to create a predictor. *

*/ public String getStatus() { return this.status; } /** *

* The status of the dataset group. States include: *

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset group to * create a predictor. *

*
* * @param status * The status of the dataset group. States include:

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED *

    *
  • *
*

* The UPDATE states apply when you call the UpdateDatasetGroup * operation. *

* *

* The Status of the dataset group must be ACTIVE before you can use the dataset * group to create a predictor. *

* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withStatus(String status) { setStatus(status); return this; } /** *

* When the dataset group was created. *

* * @param creationTime * When the dataset group was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* When the dataset group was created. *

* * @return When the dataset group was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* When the dataset group was created. *

* * @param creationTime * When the dataset group was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time of the * DescribeDatasetGroup call. *

* * @param lastModificationTime * When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time * of the DescribeDatasetGroup call. */ public void setLastModificationTime(java.util.Date lastModificationTime) { this.lastModificationTime = lastModificationTime; } /** *

* When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time of the * DescribeDatasetGroup call. *

* * @return When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current * time of the DescribeDatasetGroup call. */ public java.util.Date getLastModificationTime() { return this.lastModificationTime; } /** *

* When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time of the * DescribeDatasetGroup call. *

* * @param lastModificationTime * When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, LastModificationTime is the current time * of the DescribeDatasetGroup call. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetGroupResult withLastModificationTime(java.util.Date lastModificationTime) { setLastModificationTime(lastModificationTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDatasetGroupName() != null) sb.append("DatasetGroupName: ").append(getDatasetGroupName()).append(","); if (getDatasetGroupArn() != null) sb.append("DatasetGroupArn: ").append(getDatasetGroupArn()).append(","); if (getDatasetArns() != null) sb.append("DatasetArns: ").append(getDatasetArns()).append(","); if (getDomain() != null) sb.append("Domain: ").append(getDomain()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModificationTime() != null) sb.append("LastModificationTime: ").append(getLastModificationTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeDatasetGroupResult == false) return false; DescribeDatasetGroupResult other = (DescribeDatasetGroupResult) obj; if (other.getDatasetGroupName() == null ^ this.getDatasetGroupName() == null) return false; if (other.getDatasetGroupName() != null && other.getDatasetGroupName().equals(this.getDatasetGroupName()) == false) return false; if (other.getDatasetGroupArn() == null ^ this.getDatasetGroupArn() == null) return false; if (other.getDatasetGroupArn() != null && other.getDatasetGroupArn().equals(this.getDatasetGroupArn()) == false) return false; if (other.getDatasetArns() == null ^ this.getDatasetArns() == null) return false; if (other.getDatasetArns() != null && other.getDatasetArns().equals(this.getDatasetArns()) == false) return false; if (other.getDomain() == null ^ this.getDomain() == null) return false; if (other.getDomain() != null && other.getDomain().equals(this.getDomain()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModificationTime() == null ^ this.getLastModificationTime() == null) return false; if (other.getLastModificationTime() != null && other.getLastModificationTime().equals(this.getLastModificationTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDatasetGroupName() == null) ? 0 : getDatasetGroupName().hashCode()); hashCode = prime * hashCode + ((getDatasetGroupArn() == null) ? 0 : getDatasetGroupArn().hashCode()); hashCode = prime * hashCode + ((getDatasetArns() == null) ? 0 : getDatasetArns().hashCode()); hashCode = prime * hashCode + ((getDomain() == null) ? 0 : getDomain().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModificationTime() == null) ? 0 : getLastModificationTime().hashCode()); return hashCode; } @Override public DescribeDatasetGroupResult clone() { try { return (DescribeDatasetGroupResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy