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
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
state
The state of the calendar. An
OPENcalendar indicates that actions are allowed to proceed, and aCLOSEDcalendar indicates that actions aren't allowed to proceed.- Parameters:
state- The state of the calendar. AnOPENcalendar indicates that actions are allowed to proceed, and aCLOSEDcalendar 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
OPENcalendar indicates that actions are allowed to proceed, and aCLOSEDcalendar indicates that actions aren't allowed to proceed.- Parameters:
state- The state of the calendar. AnOPENcalendar indicates that actions are allowed to proceed, and aCLOSEDcalendar 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,
GetCalendarStateuses 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,GetCalendarStateuses 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,NextTransitionTimeindicates 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,NextTransitionTimeindicates when the calendar state changes toCLOSED, and vice-versa.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-