public class ViolationEventOccurrenceRange
extends java.lang.Object
implements java.io.Serializable
Specifies the time period of which violation events occurred between.
Constructor and Description |
---|
ViolationEventOccurrenceRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEndTime()
The end date and time of a time period in which violation events
occurred.
|
java.util.Date |
getStartTime()
The start date and time of a time period in which violation events
occurred.
|
int |
hashCode() |
void |
setEndTime(java.util.Date endTime)
The end date and time of a time period in which violation events
occurred.
|
void |
setStartTime(java.util.Date startTime)
The start date and time of a time period in which violation events
occurred.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ViolationEventOccurrenceRange |
withEndTime(java.util.Date endTime)
The end date and time of a time period in which violation events
occurred.
|
ViolationEventOccurrenceRange |
withStartTime(java.util.Date startTime)
The start date and time of a time period in which violation events
occurred.
|
public java.util.Date getStartTime()
The start date and time of a time period in which violation events occurred.
The start date and time of a time period in which violation events occurred.
public void setStartTime(java.util.Date startTime)
The start date and time of a time period in which violation events occurred.
startTime
- The start date and time of a time period in which violation events occurred.
public ViolationEventOccurrenceRange withStartTime(java.util.Date startTime)
The start date and time of a time period in which violation events occurred.
Returns a reference to this object so that method calls can be chained together.
startTime
- The start date and time of a time period in which violation events occurred.
public java.util.Date getEndTime()
The end date and time of a time period in which violation events occurred.
The end date and time of a time period in which violation events occurred.
public void setEndTime(java.util.Date endTime)
The end date and time of a time period in which violation events occurred.
endTime
- The end date and time of a time period in which violation events occurred.
public ViolationEventOccurrenceRange withEndTime(java.util.Date endTime)
The end date and time of a time period in which violation events occurred.
Returns a reference to this object so that method calls can be chained together.
endTime
- The end date and time of a time period in which violation events occurred.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.