Interface AssignedSession.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssignedSession.Builder,
,AssignedSession> SdkBuilder<AssignedSession.Builder,
,AssignedSession> SdkPojo
- Enclosing class:
AssignedSession
@Mutable
@NotThreadSafe
public static interface AssignedSession.Builder
extends SdkPojo, CopyableBuilder<AssignedSession.Builder,AssignedSession>
-
Method Summary
Modifier and TypeMethodDescriptionThe job ID for the assigned session.default AssignedSession.Builder
logConfiguration
(Consumer<LogConfiguration.Builder> logConfiguration) The log configuration for the worker's assigned session.logConfiguration
(LogConfiguration logConfiguration) The log configuration for the worker's assigned session.The queue ID of the assigned session.sessionActions
(Collection<AssignedSessionAction> sessionActions) The session actions to apply to the assigned session.sessionActions
(Consumer<AssignedSessionAction.Builder>... sessionActions) The session actions to apply to the assigned session.sessionActions
(AssignedSessionAction... sessionActions) The session actions to apply to the assigned session.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
-
Method Details
-
queueId
The queue ID of the assigned session.
- Parameters:
queueId
- The queue ID of the assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID for the assigned session.
- Parameters:
jobId
- The job ID for the assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActions
The session actions to apply to the assigned session.
- Parameters:
sessionActions
- The session actions to apply to the assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActions
The session actions to apply to the assigned session.
- Parameters:
sessionActions
- The session actions to apply to the assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActions
The session actions to apply to the assigned session.
This is a convenience method that creates an instance of theAssignedSessionAction.Builder
avoiding the need to create one manually viaAssignedSessionAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessionActions(List<AssignedSessionAction>)
.- Parameters:
sessionActions
- a consumer that will call methods onAssignedSessionAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfiguration
The log configuration for the worker's assigned session.
- Parameters:
logConfiguration
- The log configuration for the worker's assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default AssignedSession.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) The log configuration for the worker's assigned session.
This is a convenience method that creates an instance of theLogConfiguration.Builder
avoiding the need to create one manually viaLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(LogConfiguration)
.- Parameters:
logConfiguration
- a consumer that will call methods onLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-