@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WhatIfRangeScenario extends Object implements Serializable, Cloneable, StructuredPojo
Provides the forecast to meet the target for a particular date range.
Constructor and Description |
---|
WhatIfRangeScenario() |
Modifier and Type | Method and Description |
---|---|
WhatIfRangeScenario |
clone() |
boolean |
equals(Object obj) |
Date |
getEndDate()
The end date in the date range that you need the forecast results for.
|
Date |
getStartDate()
The start date in the date range that you need the forecast results for.
|
Double |
getValue()
The target value that you want to meet for the provided date range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndDate(Date endDate)
The end date in the date range that you need the forecast results for.
|
void |
setStartDate(Date startDate)
The start date in the date range that you need the forecast results for.
|
void |
setValue(Double value)
The target value that you want to meet for the provided date range.
|
String |
toString()
Returns a string representation of this object.
|
WhatIfRangeScenario |
withEndDate(Date endDate)
The end date in the date range that you need the forecast results for.
|
WhatIfRangeScenario |
withStartDate(Date startDate)
The start date in the date range that you need the forecast results for.
|
WhatIfRangeScenario |
withValue(Double value)
The target value that you want to meet for the provided date range.
|
public void setStartDate(Date startDate)
The start date in the date range that you need the forecast results for.
startDate
- The start date in the date range that you need the forecast results for.public Date getStartDate()
The start date in the date range that you need the forecast results for.
public WhatIfRangeScenario withStartDate(Date startDate)
The start date in the date range that you need the forecast results for.
startDate
- The start date in the date range that you need the forecast results for.public void setEndDate(Date endDate)
The end date in the date range that you need the forecast results for.
endDate
- The end date in the date range that you need the forecast results for.public Date getEndDate()
The end date in the date range that you need the forecast results for.
public WhatIfRangeScenario withEndDate(Date endDate)
The end date in the date range that you need the forecast results for.
endDate
- The end date in the date range that you need the forecast results for.public void setValue(Double value)
The target value that you want to meet for the provided date range.
value
- The target value that you want to meet for the provided date range.public Double getValue()
The target value that you want to meet for the provided date range.
public WhatIfRangeScenario withValue(Double value)
The target value that you want to meet for the provided date range.
value
- The target value that you want to meet for the provided date range.public String toString()
toString
in class Object
Object.toString()
public WhatIfRangeScenario clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.