@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCalendarStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetCalendarStateResult() |
| Modifier and Type | Method and Description |
|---|---|
GetCalendarStateResult |
clone() |
boolean |
equals(Object obj) |
String |
getAtTime()
The time, as an ISO 8601 string, that you specified in your
command.
|
String |
getNextTransitionTime()
The time, as an ISO 8601 string, that the calendar state
will change.
|
String |
getState()
The state of the calendar.
|
int |
hashCode() |
void |
setAtTime(String atTime)
The time, as an ISO 8601 string, that you specified in your
command.
|
void |
setNextTransitionTime(String nextTransitionTime)
The time, as an ISO 8601 string, that the calendar state
will change.
|
void |
setState(String state)
The state of the calendar.
|
String |
toString()
Returns a string representation of this object.
|
GetCalendarStateResult |
withAtTime(String atTime)
The time, as an ISO 8601 string, that you specified in your
command.
|
GetCalendarStateResult |
withNextTransitionTime(String nextTransitionTime)
The time, as an ISO 8601 string, that the calendar state
will change.
|
GetCalendarStateResult |
withState(CalendarState state)
The state of the calendar.
|
GetCalendarStateResult |
withState(String state)
The state of the calendar.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setState(String state)
The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a
CLOSED calendar indicates that actions aren't allowed to proceed.
state - The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed,
and a CLOSED calendar indicates that actions aren't allowed to proceed.CalendarStatepublic String getState()
The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a
CLOSED calendar indicates that actions aren't allowed to proceed.
OPEN calendar indicates that actions are allowed to proceed,
and a CLOSED calendar indicates that actions aren't allowed to proceed.CalendarStatepublic GetCalendarStateResult withState(String state)
The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a
CLOSED calendar indicates that actions aren't allowed to proceed.
state - The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed,
and a CLOSED calendar indicates that actions aren't allowed to proceed.CalendarStatepublic GetCalendarStateResult withState(CalendarState state)
The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a
CLOSED calendar indicates that actions aren't allowed to proceed.
state - The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed,
and a CLOSED calendar indicates that actions aren't allowed to proceed.CalendarStatepublic void setAtTime(String atTime)
The time, as an ISO 8601 string, that you specified in your
command. If you don't specify a time, GetCalendarState uses the current time.
atTime - The time, as an ISO 8601 string, that you specified
in your command. If you don't specify a time, GetCalendarState uses the current time.public String getAtTime()
The time, as an ISO 8601 string, that you specified in your
command. If you don't specify a time, GetCalendarState uses the current time.
GetCalendarState uses the current time.public GetCalendarStateResult withAtTime(String atTime)
The time, as an ISO 8601 string, that you specified in your
command. If you don't specify a time, GetCalendarState uses the current time.
atTime - The time, as an ISO 8601 string, that you specified
in your command. If you don't specify a time, GetCalendarState uses the current time.public void setNextTransitionTime(String nextTransitionTime)
The time, as an ISO 8601 string, that the calendar state
will change. If the current calendar state is OPEN, NextTransitionTime indicates when
the calendar state changes to CLOSED, and vice-versa.
nextTransitionTime - The time, as an ISO 8601 string, that the calendar
state will change. If the current calendar state is OPEN, NextTransitionTime
indicates when the calendar state changes to CLOSED, and vice-versa.public String getNextTransitionTime()
The time, as an ISO 8601 string, that the calendar state
will change. If the current calendar state is OPEN, NextTransitionTime indicates when
the calendar state changes to CLOSED, and vice-versa.
OPEN, NextTransitionTime
indicates when the calendar state changes to CLOSED, and vice-versa.public GetCalendarStateResult withNextTransitionTime(String nextTransitionTime)
The time, as an ISO 8601 string, that the calendar state
will change. If the current calendar state is OPEN, NextTransitionTime indicates when
the calendar state changes to CLOSED, and vice-versa.
nextTransitionTime - The time, as an ISO 8601 string, that the calendar
state will change. If the current calendar state is OPEN, NextTransitionTime
indicates when the calendar state changes to CLOSED, and vice-versa.public String toString()
toString in class ObjectObject.toString()public GetCalendarStateResult clone()