Interface UpdateWorkerScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateWorkerScheduleResponse.Builder,
,UpdateWorkerScheduleResponse> DeadlineResponse.Builder
,SdkBuilder<UpdateWorkerScheduleResponse.Builder,
,UpdateWorkerScheduleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateWorkerScheduleResponse
@Mutable
@NotThreadSafe
public static interface UpdateWorkerScheduleResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkerScheduleResponse.Builder,UpdateWorkerScheduleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassignedSessions
(Map<String, AssignedSession> assignedSessions) The assigned sessions to update.cancelSessionActions
(Map<String, ? extends Collection<String>> cancelSessionActions) The session actions associated with the worker schedule to cancel.desiredWorkerStatus
(String desiredWorkerStatus) The status to update the worker to.desiredWorkerStatus
(DesiredWorkerStatus desiredWorkerStatus) The status to update the worker to.updateIntervalSeconds
(Integer updateIntervalSeconds) Updates the time interval (in seconds) for the schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
assignedSessions
The assigned sessions to update.
- Parameters:
assignedSessions
- The assigned sessions to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelSessionActions
UpdateWorkerScheduleResponse.Builder cancelSessionActions(Map<String, ? extends Collection<String>> cancelSessionActions) The session actions associated with the worker schedule to cancel.
- Parameters:
cancelSessionActions
- The session actions associated with the worker schedule to cancel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredWorkerStatus
The status to update the worker to.
- Parameters:
desiredWorkerStatus
- The status to update the worker to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredWorkerStatus
The status to update the worker to.
- Parameters:
desiredWorkerStatus
- The status to update the worker to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateIntervalSeconds
Updates the time interval (in seconds) for the schedule.
- Parameters:
updateIntervalSeconds
- Updates the time interval (in seconds) for the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-