Class TimeRange
java.lang.Object
com.amazonaws.services.codedeploy.model.TimeRange
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a time range.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getEnd()
The end time of the time range.getStart()
The start time of the time range.int
hashCode()
void
The end time of the time range.void
The start time of the time range.toString()
Returns a string representation of this object; useful for testing and debugging.The end time of the time range.The start time of the time range.
-
Constructor Details
-
TimeRange
public TimeRange()
-
-
Method Details
-
setStart
The start time of the time range.
Specify null to leave the start time open-ended. - Parameters:
start
- The start time of the time range.Specify null to leave the start time open-ended.
-
getStart
The start time of the time range.
Specify null to leave the start time open-ended. - Returns:
- The start time of the time range.
Specify null to leave the start time open-ended.
-
withStart
The start time of the time range.
Specify null to leave the start time open-ended. - Parameters:
start
- The start time of the time range.Specify null to leave the start time open-ended. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnd
The end time of the time range.
Specify null to leave the end time open-ended. - Parameters:
end
- The end time of the time range.Specify null to leave the end time open-ended.
-
getEnd
The end time of the time range.
Specify null to leave the end time open-ended. - Returns:
- The end time of the time range.
Specify null to leave the end time open-ended.
-
withEnd
The end time of the time range.
Specify null to leave the end time open-ended. - Parameters:
end
- The end time of the time range.Specify null to leave the end time open-ended. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-