com.amazonaws.services.forecast.model.AdditionalDataset Maven / Gradle / Ivy
/*
* 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;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
*
* Describes an additional dataset. This object is part of the DataConfig object. Forecast supports the Weather
* Index and Holidays additional datasets.
*
*
* Weather Index
*
*
* The Amazon Forecast Weather Index is a built-in dataset that incorporates historical and projected weather
* information into your model. The Weather Index supplements your datasets with over two years of historical weather
* data and up to 14 days of projected weather data. For more information, see Amazon Forecast Weather Index.
*
*
* Holidays
*
*
* Holidays is a built-in dataset that incorporates national holiday information into your model. It provides native
* support for the holiday calendars of 66 countries. To view the holiday calendars, refer to the Jollyday library. For more information, see Holidays Featurization.
*
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class AdditionalDataset implements Serializable, Cloneable, StructuredPojo {
/**
*
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*
*/
private String name;
/**
*
* Weather Index
*
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*
*/
private java.util.Map> configuration;
/**
*
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*
*
* @param name
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*
*
* @return The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*/
public String getName() {
return this.name;
}
/**
*
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
*
*
* @param name
* The name of the additional dataset. Valid names: "holiday"
and "weather"
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AdditionalDataset withName(String name) {
setName(name);
return this;
}
/**
*
* Weather Index
*
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*
*
* @return Weather Index
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*/
public java.util.Map> getConfiguration() {
return configuration;
}
/**
*
* Weather Index
*
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*
*
* @param configuration
* Weather Index
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*/
public void setConfiguration(java.util.Map> configuration) {
this.configuration = configuration;
}
/**
*
* Weather Index
*
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
*
*
* @param configuration
* Weather Index
*
* To enable the Weather Index, do not specify a value for Configuration
.
*
*
* Holidays
*
*
* Holidays
*
*
* To enable Holidays, set CountryCode
to one of the following two-letter country codes:
*
*
* -
*
* "AL" - ALBANIA
*
*
* -
*
* "AR" - ARGENTINA
*
*
* -
*
* "AT" - AUSTRIA
*
*
* -
*
* "AU" - AUSTRALIA
*
*
* -
*
* "BA" - BOSNIA HERZEGOVINA
*
*
* -
*
* "BE" - BELGIUM
*
*
* -
*
* "BG" - BULGARIA
*
*
* -
*
* "BO" - BOLIVIA
*
*
* -
*
* "BR" - BRAZIL
*
*
* -
*
* "BY" - BELARUS
*
*
* -
*
* "CA" - CANADA
*
*
* -
*
* "CL" - CHILE
*
*
* -
*
* "CO" - COLOMBIA
*
*
* -
*
* "CR" - COSTA RICA
*
*
* -
*
* "HR" - CROATIA
*
*
* -
*
* "CZ" - CZECH REPUBLIC
*
*
* -
*
* "DK" - DENMARK
*
*
* -
*
* "EC" - ECUADOR
*
*
* -
*
* "EE" - ESTONIA
*
*
* -
*
* "ET" - ETHIOPIA
*
*
* -
*
* "FI" - FINLAND
*
*
* -
*
* "FR" - FRANCE
*
*
* -
*
* "DE" - GERMANY
*
*
* -
*
* "GR" - GREECE
*
*
* -
*
* "HU" - HUNGARY
*
*
* -
*
* "IS" - ICELAND
*
*
* -
*
* "IN" - INDIA
*
*
* -
*
* "IE" - IRELAND
*
*
* -
*
* "IT" - ITALY
*
*
* -
*
* "JP" - JAPAN
*
*
* -
*
* "KZ" - KAZAKHSTAN
*
*
* -
*
* "KR" - KOREA
*
*
* -
*
* "LV" - LATVIA
*
*
* -
*
* "LI" - LIECHTENSTEIN
*
*
* -
*
* "LT" - LITHUANIA
*
*
* -
*
* "LU" - LUXEMBOURG
*
*
* -
*
* "MK" - MACEDONIA
*
*
* -
*
* "MT" - MALTA
*
*
* -
*
* "MX" - MEXICO
*
*
* -
*
* "MD" - MOLDOVA
*
*
* -
*
* "ME" - MONTENEGRO
*
*
* -
*
* "NL" - NETHERLANDS
*
*
* -
*
* "NZ" - NEW ZEALAND
*
*
* -
*
* "NI" - NICARAGUA
*
*
* -
*
* "NG" - NIGERIA
*
*
* -
*
* "NO" - NORWAY
*
*
* -
*
* "PA" - PANAMA
*
*
* -
*
* "PY" - PARAGUAY
*
*
* -
*
* "PE" - PERU
*
*
* -
*
* "PL" - POLAND
*
*
* -
*
* "PT" - PORTUGAL
*
*
* -
*
* "RO" - ROMANIA
*
*
* -
*
* "RU" - RUSSIA
*
*
* -
*
* "RS" - SERBIA
*
*
* -
*
* "SK" - SLOVAKIA
*
*
* -
*
* "SI" - SLOVENIA
*
*
* -
*
* "ZA" - SOUTH AFRICA
*
*
* -
*
* "ES" - SPAIN
*
*
* -
*
* "SE" - SWEDEN
*
*
* -
*
* "CH" - SWITZERLAND
*
*
* -
*
* "UA" - UKRAINE
*
*
* -
*
* "AE" - UNITED ARAB EMIRATES
*
*
* -
*
* "US" - UNITED STATES
*
*
* -
*
* "UK" - UNITED KINGDOM
*
*
* -
*
* "UY" - URUGUAY
*
*
* -
*
* "VE" - VENEZUELA
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AdditionalDataset withConfiguration(java.util.Map> configuration) {
setConfiguration(configuration);
return this;
}
/**
* Add a single Configuration entry
*
* @see AdditionalDataset#withConfiguration
* @returns a reference to this object so that method calls can be chained together.
*/
public AdditionalDataset addConfigurationEntry(String key, java.util.List value) {
if (null == this.configuration) {
this.configuration = new java.util.HashMap>();
}
if (this.configuration.containsKey(key))
throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
this.configuration.put(key, value);
return this;
}
/**
* Removes all the entries added into Configuration.
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AdditionalDataset clearConfigurationEntries() {
this.configuration = null;
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 (getName() != null)
sb.append("Name: ").append(getName()).append(",");
if (getConfiguration() != null)
sb.append("Configuration: ").append(getConfiguration());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof AdditionalDataset == false)
return false;
AdditionalDataset other = (AdditionalDataset) obj;
if (other.getName() == null ^ this.getName() == null)
return false;
if (other.getName() != null && other.getName().equals(this.getName()) == false)
return false;
if (other.getConfiguration() == null ^ this.getConfiguration() == null)
return false;
if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
hashCode = prime * hashCode + ((getConfiguration() == null) ? 0 : getConfiguration().hashCode());
return hashCode;
}
@Override
public AdditionalDataset clone() {
try {
return (AdditionalDataset) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.forecast.model.transform.AdditionalDatasetMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}