@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWhatIfAnalysesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWhatIfAnalysesResult() |
Modifier and Type | Method and Description |
---|---|
ListWhatIfAnalysesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, Forecast returns this token.
|
List<WhatIfAnalysisSummary> |
getWhatIfAnalyses()
An array of
WhatIfAnalysisSummary objects that describe the matched analyses. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Forecast returns this token.
|
void |
setWhatIfAnalyses(Collection<WhatIfAnalysisSummary> whatIfAnalyses)
An array of
WhatIfAnalysisSummary objects that describe the matched analyses. |
String |
toString()
Returns a string representation of this object.
|
ListWhatIfAnalysesResult |
withNextToken(String nextToken)
If the response is truncated, Forecast returns this token.
|
ListWhatIfAnalysesResult |
withWhatIfAnalyses(Collection<WhatIfAnalysisSummary> whatIfAnalyses)
An array of
WhatIfAnalysisSummary objects that describe the matched analyses. |
ListWhatIfAnalysesResult |
withWhatIfAnalyses(WhatIfAnalysisSummary... whatIfAnalyses)
An array of
WhatIfAnalysisSummary objects that describe the matched analyses. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WhatIfAnalysisSummary> getWhatIfAnalyses()
An array of WhatIfAnalysisSummary
objects that describe the matched analyses.
WhatIfAnalysisSummary
objects that describe the matched analyses.public void setWhatIfAnalyses(Collection<WhatIfAnalysisSummary> whatIfAnalyses)
An array of WhatIfAnalysisSummary
objects that describe the matched analyses.
whatIfAnalyses
- An array of WhatIfAnalysisSummary
objects that describe the matched analyses.public ListWhatIfAnalysesResult withWhatIfAnalyses(WhatIfAnalysisSummary... whatIfAnalyses)
An array of WhatIfAnalysisSummary
objects that describe the matched analyses.
NOTE: This method appends the values to the existing list (if any). Use
setWhatIfAnalyses(java.util.Collection)
or withWhatIfAnalyses(java.util.Collection)
if you want
to override the existing values.
whatIfAnalyses
- An array of WhatIfAnalysisSummary
objects that describe the matched analyses.public ListWhatIfAnalysesResult withWhatIfAnalyses(Collection<WhatIfAnalysisSummary> whatIfAnalyses)
An array of WhatIfAnalysisSummary
objects that describe the matched analyses.
whatIfAnalyses
- An array of WhatIfAnalysisSummary
objects that describe the matched analyses.public void setNextToken(String nextToken)
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
nextToken
- If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the
token in the next request.public String getNextToken()
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
public ListWhatIfAnalysesResult withNextToken(String nextToken)
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
nextToken
- If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the
token in the next request.public String toString()
toString
in class Object
Object.toString()
public ListWhatIfAnalysesResult clone()