@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyDateInterval extends Object implements Serializable, Cloneable, StructuredPojo
The time period for an anomaly.
Constructor and Description |
---|
AnomalyDateInterval() |
Modifier and Type | Method and Description |
---|---|
AnomalyDateInterval |
clone() |
boolean |
equals(Object obj) |
String |
getEndDate()
The last date an anomaly was observed.
|
String |
getStartDate()
The first date an anomaly was observed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndDate(String endDate)
The last date an anomaly was observed.
|
void |
setStartDate(String startDate)
The first date an anomaly was observed.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyDateInterval |
withEndDate(String endDate)
The last date an anomaly was observed.
|
AnomalyDateInterval |
withStartDate(String startDate)
The first date an anomaly was observed.
|
public void setStartDate(String startDate)
The first date an anomaly was observed.
startDate
- The first date an anomaly was observed.public String getStartDate()
The first date an anomaly was observed.
public AnomalyDateInterval withStartDate(String startDate)
The first date an anomaly was observed.
startDate
- The first date an anomaly was observed.public void setEndDate(String endDate)
The last date an anomaly was observed.
endDate
- The last date an anomaly was observed.public String getEndDate()
The last date an anomaly was observed.
public AnomalyDateInterval withEndDate(String endDate)
The last date an anomaly was observed.
endDate
- The last date an anomaly was observed.public String toString()
toString
in class Object
Object.toString()
public AnomalyDateInterval clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.