public class QuietTime
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
QuietTime() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEnd()
The time at which quiet time should end.
|
java.lang.String |
getStart()
The time at which quiet time should begin.
|
int |
hashCode() |
void |
setEnd(java.lang.String end)
The time at which quiet time should end.
|
void |
setStart(java.lang.String start)
The time at which quiet time should begin.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QuietTime |
withEnd(java.lang.String end)
The time at which quiet time should end.
|
QuietTime |
withStart(java.lang.String start)
The time at which quiet time should begin.
|
public java.lang.String getEnd()
public void setEnd(java.lang.String end)
end - The time at which quiet time should end. The value that you
specify has to be in HH:mm format, where HH is the hour in
24-hour format (with a leading zero, if applicable), and mm is
the minutes. For example, use 02:30 to represent 2:30 AM, or
14:30 to represent 2:30 PM.public QuietTime withEnd(java.lang.String end)
Returns a reference to this object so that method calls can be chained together.
end - The time at which quiet time should end. The value that you
specify has to be in HH:mm format, where HH is the hour in
24-hour format (with a leading zero, if applicable), and mm is
the minutes. For example, use 02:30 to represent 2:30 AM, or
14:30 to represent 2:30 PM.public java.lang.String getStart()
public void setStart(java.lang.String start)
start - The time at which quiet time should begin. The value that
you specify has to be in HH:mm format, where HH is the hour in
24-hour format (with a leading zero, if applicable), and mm is
the minutes. For example, use 02:30 to represent 2:30 AM, or
14:30 to represent 2:30 PM.public QuietTime withStart(java.lang.String start)
Returns a reference to this object so that method calls can be chained together.
start - The time at which quiet time should begin. The value that
you specify has to be in HH:mm format, where HH is the hour in
24-hour format (with a leading zero, if applicable), and mm is
the minutes. For example, use 02:30 to represent 2:30 AM, or
14:30 to represent 2:30 PM.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.