Interface AssignedSession.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssignedSession.Builder,AssignedSession>,SdkBuilder<AssignedSession.Builder,AssignedSession>,SdkPojo
- Enclosing class:
- AssignedSession
public static interface AssignedSession.Builder extends SdkPojo, CopyableBuilder<AssignedSession.Builder,AssignedSession>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssignedSession.BuilderjobId(String jobId)The job ID for the assigned session.default AssignedSession.BuilderlogConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)The log configuration for the worker's assigned session.AssignedSession.BuilderlogConfiguration(LogConfiguration logConfiguration)The log configuration for the worker's assigned session.AssignedSession.BuilderqueueId(String queueId)The queue ID of the assigned session.AssignedSession.BuildersessionActions(Collection<AssignedSessionAction> sessionActions)The session actions to apply to the assigned session.AssignedSession.BuildersessionActions(Consumer<AssignedSessionAction.Builder>... sessionActions)The session actions to apply to the assigned session.AssignedSession.BuildersessionActions(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, sdkFields
-
-
-
-
Method Detail
-
jobId
AssignedSession.Builder jobId(String 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.
-
logConfiguration
AssignedSession.Builder logConfiguration(LogConfiguration 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.Builderavoiding the need to create one manually viaLogConfiguration.builder().When the
Consumercompletes,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:
logConfiguration(LogConfiguration)
-
queueId
AssignedSession.Builder queueId(String 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.
-
sessionActions
AssignedSession.Builder sessionActions(Collection<AssignedSessionAction> 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
AssignedSession.Builder sessionActions(AssignedSessionAction... 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
AssignedSession.Builder sessionActions(Consumer<AssignedSessionAction.Builder>... sessionActions)
The session actions to apply to the assigned session.
This is a convenience method that creates an instance of theAssignedSessionAction.Builderavoiding the need to create one manually viaAssignedSessionAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sessionActions(List.) - 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:
#sessionActions(java.util.Collection)
-
-