Interface GetSessionActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSessionActionResponse.Builder,
,GetSessionActionResponse> DeadlineResponse.Builder
,SdkBuilder<GetSessionActionResponse.Builder,
,GetSessionActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSessionActionResponse
public static interface GetSessionActionResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<GetSessionActionResponse.Builder,GetSessionActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetSessionActionResponse.Builder
definition
(Consumer<SessionActionDefinition.Builder> definition) The session action definition.definition
(SessionActionDefinition definition) The session action definition.The date and time the resource ended running.processExitCode
(Integer processExitCode) The exit code to exit the session.progressMessage
(String progressMessage) The message that communicates the progress of the session action.progressPercent
(Float progressPercent) The percentage completed for a session action.sessionActionId
(String sessionActionId) The session action ID.The session ID for the session action.The date and time the resource started running.The status of the session action.status
(SessionActionStatus status) The status of the session action.workerUpdatedAt
(Instant workerUpdatedAt) The Linux timestamp of the date and time the session action was last updated.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
definition
The session action definition.
- Parameters:
definition
- The session action definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default GetSessionActionResponse.Builder definition(Consumer<SessionActionDefinition.Builder> definition) The session action definition.
This is a convenience method that creates an instance of theSessionActionDefinition.Builder
avoiding the need to create one manually viaSessionActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(SessionActionDefinition)
.- Parameters:
definition
- a consumer that will call methods onSessionActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endedAt
The date and time the resource ended running.
- Parameters:
endedAt
- The date and time the resource ended running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processExitCode
The exit code to exit the session.
- Parameters:
processExitCode
- The exit code to exit the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressMessage
The message that communicates the progress of the session action.
- Parameters:
progressMessage
- The message that communicates the progress of the session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressPercent
The percentage completed for a session action.
- Parameters:
progressPercent
- The percentage completed for a session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActionId
The session action ID.
- Parameters:
sessionActionId
- The session action ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The session ID for the session action.
- Parameters:
sessionId
- The session ID for the session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The date and time the resource started running.
- Parameters:
startedAt
- The date and time the resource started running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the session action.
- Parameters:
status
- The status of the session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the session action.
- Parameters:
status
- The status of the session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workerUpdatedAt
The Linux timestamp of the date and time the session action was last updated.
- Parameters:
workerUpdatedAt
- The Linux timestamp of the date and time the session action was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-