@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ViolationEventOccurrenceRange extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the time period of which violation events occurred between.
Constructor and Description |
---|
ViolationEventOccurrenceRange() |
Modifier and Type | Method and Description |
---|---|
ViolationEventOccurrenceRange |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end date and time of a time period in which violation events occurred.
|
Date |
getStartTime()
The start date and time of a time period in which violation events occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndTime(Date endTime)
The end date and time of a time period in which violation events occurred.
|
void |
setStartTime(Date startTime)
The start date and time of a time period in which violation events occurred.
|
String |
toString()
Returns a string representation of this object.
|
ViolationEventOccurrenceRange |
withEndTime(Date endTime)
The end date and time of a time period in which violation events occurred.
|
ViolationEventOccurrenceRange |
withStartTime(Date startTime)
The start date and time of a time period in which violation events occurred.
|
public void setStartTime(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 Date getStartTime()
The start date and time of a time period in which violation events occurred.
public ViolationEventOccurrenceRange withStartTime(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 void setEndTime(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 Date getEndTime()
The end date and time of a time period in which violation events occurred.
public ViolationEventOccurrenceRange withEndTime(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 String toString()
toString
in class Object
Object.toString()
public ViolationEventOccurrenceRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.