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