@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Range extends Object implements Serializable, Cloneable
Specifies one range of days or times to exclude from use for training an anomaly detection model.
Constructor and Description |
---|
Range() |
Modifier and Type | Method and Description |
---|---|
Range |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the range to exclude.
|
Date |
getStartTime()
The start time of the range to exclude.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end time of the range to exclude.
|
void |
setStartTime(Date startTime)
The start time of the range to exclude.
|
String |
toString()
Returns a string representation of this object.
|
Range |
withEndTime(Date endTime)
The end time of the range to exclude.
|
Range |
withStartTime(Date startTime)
The start time of the range to exclude.
|
public void setStartTime(Date startTime)
The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
startTime
- The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public Date getStartTime()
The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public Range withStartTime(Date startTime)
The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
startTime
- The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public void setEndTime(Date endTime)
The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
endTime
- The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public Date getEndTime()
The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public Range withEndTime(Date endTime)
The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.
endTime
- The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss
. For example,
2019-07-01T23:59:59
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2024. All rights reserved.