@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWhatIfAnalysisRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateWhatIfAnalysisRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateWhatIfAnalysisRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getForecastArn()
 The Amazon Resource Name (ARN) of the baseline forecast. 
 | 
List<Tag> | 
getTags()
 A list of tags to
 apply to the what if forecast. 
 | 
TimeSeriesSelector | 
getTimeSeriesSelector()
 Defines the set of time series that are used in the what-if analysis with a  
TimeSeriesIdentifiers
 object. | 
String | 
getWhatIfAnalysisName()
 The name of the what-if analysis. 
 | 
int | 
hashCode()  | 
void | 
setForecastArn(String forecastArn)
 The Amazon Resource Name (ARN) of the baseline forecast. 
 | 
void | 
setTags(Collection<Tag> tags)
 A list of tags to
 apply to the what if forecast. 
 | 
void | 
setTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
 Defines the set of time series that are used in the what-if analysis with a  
TimeSeriesIdentifiers
 object. | 
void | 
setWhatIfAnalysisName(String whatIfAnalysisName)
 The name of the what-if analysis. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateWhatIfAnalysisRequest | 
withForecastArn(String forecastArn)
 The Amazon Resource Name (ARN) of the baseline forecast. 
 | 
CreateWhatIfAnalysisRequest | 
withTags(Collection<Tag> tags)
 A list of tags to
 apply to the what if forecast. 
 | 
CreateWhatIfAnalysisRequest | 
withTags(Tag... tags)
 A list of tags to
 apply to the what if forecast. 
 | 
CreateWhatIfAnalysisRequest | 
withTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
 Defines the set of time series that are used in the what-if analysis with a  
TimeSeriesIdentifiers
 object. | 
CreateWhatIfAnalysisRequest | 
withWhatIfAnalysisName(String whatIfAnalysisName)
 The name of the what-if analysis. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis. Each name must be unique.
whatIfAnalysisName - The name of the what-if analysis. Each name must be unique.public String getWhatIfAnalysisName()
The name of the what-if analysis. Each name must be unique.
public CreateWhatIfAnalysisRequest withWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis. Each name must be unique.
whatIfAnalysisName - The name of the what-if analysis. Each name must be unique.public void setForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the baseline forecast.
forecastArn - The Amazon Resource Name (ARN) of the baseline forecast.public String getForecastArn()
The Amazon Resource Name (ARN) of the baseline forecast.
public CreateWhatIfAnalysisRequest withForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the baseline forecast.
forecastArn - The Amazon Resource Name (ARN) of the baseline forecast.public void setTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
 Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
 object. What-if analyses are performed only for the time series in this object.
 
 The TimeSeriesIdentifiers object needs the following information:
 
 DataSource
 
 Format
 
 Schema
 
timeSeriesSelector - Defines the set of time series that are used in the what-if analysis with a
        TimeSeriesIdentifiers object. What-if analyses are performed only for the time series in this
        object.
        
        The TimeSeriesIdentifiers object needs the following information:
        
        DataSource
        
        Format
        
        Schema
        
public TimeSeriesSelector getTimeSeriesSelector()
 Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
 object. What-if analyses are performed only for the time series in this object.
 
 The TimeSeriesIdentifiers object needs the following information:
 
 DataSource
 
 Format
 
 Schema
 
TimeSeriesIdentifiers object. What-if analyses are performed only for the time series in
         this object.
         
         The TimeSeriesIdentifiers object needs the following information:
         
         DataSource
         
         Format
         
         Schema
         
public CreateWhatIfAnalysisRequest withTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
 Defines the set of time series that are used in the what-if analysis with a TimeSeriesIdentifiers
 object. What-if analyses are performed only for the time series in this object.
 
 The TimeSeriesIdentifiers object needs the following information:
 
 DataSource
 
 Format
 
 Schema
 
timeSeriesSelector - Defines the set of time series that are used in the what-if analysis with a
        TimeSeriesIdentifiers object. What-if analyses are performed only for the time series in this
        object.
        
        The TimeSeriesIdentifiers object needs the following information:
        
        DataSource
        
        Format
        
        Schema
        
public List<Tag> getTags()
A list of tags to apply to the what if forecast.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the what if forecast.
tags - A list of tags to apply to
        the what if forecast.public CreateWhatIfAnalysisRequest withTags(Tag... tags)
A list of tags to apply to the what if forecast.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tags to apply to
        the what if forecast.public CreateWhatIfAnalysisRequest withTags(Collection<Tag> tags)
A list of tags to apply to the what if forecast.
tags - A list of tags to apply to
        the what if forecast.public String toString()
toString in class ObjectObject.toString()public CreateWhatIfAnalysisRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()