Interface GetCalendarStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCalendarStateResponse.Builder,GetCalendarStateResponse>
,SdkBuilder<GetCalendarStateResponse.Builder,GetCalendarStateResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- GetCalendarStateResponse
public static interface GetCalendarStateResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetCalendarStateResponse.Builder,GetCalendarStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCalendarStateResponse.Builder
atTime(String atTime)
The time, as an ISO 8601 string, that you specified in your command.GetCalendarStateResponse.Builder
nextTransitionTime(String nextTransitionTime)
The time, as an ISO 8601 string, that the calendar state will change.GetCalendarStateResponse.Builder
state(String state)
The state of the calendar.GetCalendarStateResponse.Builder
state(CalendarState state)
The state of the calendar.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
state
GetCalendarStateResponse.Builder state(String state)
The state of the calendar. An
OPEN
calendar indicates that actions are allowed to proceed, and aCLOSED
calendar indicates that actions aren't allowed to proceed.- Parameters:
state
- The state of the calendar. AnOPEN
calendar indicates that actions are allowed to proceed, and aCLOSED
calendar indicates that actions aren't allowed to proceed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CalendarState
,CalendarState
-
state
GetCalendarStateResponse.Builder state(CalendarState state)
The state of the calendar. An
OPEN
calendar indicates that actions are allowed to proceed, and aCLOSED
calendar indicates that actions aren't allowed to proceed.- Parameters:
state
- The state of the calendar. AnOPEN
calendar indicates that actions are allowed to proceed, and aCLOSED
calendar indicates that actions aren't allowed to proceed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CalendarState
,CalendarState
-
atTime
GetCalendarStateResponse.Builder atTime(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextTransitionTime
GetCalendarStateResponse.Builder nextTransitionTime(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 toCLOSED
, and vice-versa.- Parameters:
nextTransitionTime
- The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state isOPEN
,NextTransitionTime
indicates when the calendar state changes toCLOSED
, and vice-versa.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-