Interface GetCalendarStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCalendarStateResponse.Builder,
,GetCalendarStateResponse> SdkBuilder<GetCalendarStateResponse.Builder,
,GetCalendarStateResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
GetCalendarStateResponse
@Mutable
@NotThreadSafe
public static interface GetCalendarStateResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetCalendarStateResponse.Builder,GetCalendarStateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe time, as an ISO 8601 string, that you specified in your command.nextTransitionTime
(String nextTransitionTime) The time, as an ISO 8601 string, that the calendar state will change.The state of the calendar.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, sdkFieldNameToField, 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 Details
-
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:
-
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:
-
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
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.
-