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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSessionActionResponse.Builderdefinition(Consumer<SessionActionDefinition.Builder> definition)The session action definition.GetSessionActionResponse.Builderdefinition(SessionActionDefinition definition)The session action definition.GetSessionActionResponse.BuilderendedAt(Instant endedAt)The date and time the resource ended running.GetSessionActionResponse.BuilderprocessExitCode(Integer processExitCode)The exit code to exit the session.GetSessionActionResponse.BuilderprogressMessage(String progressMessage)The message that communicates the progress of the session action.GetSessionActionResponse.BuilderprogressPercent(Float progressPercent)The percentage completed for a session action.GetSessionActionResponse.BuildersessionActionId(String sessionActionId)The session action ID.GetSessionActionResponse.BuildersessionId(String sessionId)The session ID for the session action.GetSessionActionResponse.BuilderstartedAt(Instant startedAt)The date and time the resource started running.GetSessionActionResponse.Builderstatus(String status)The status of the session action.GetSessionActionResponse.Builderstatus(SessionActionStatus status)The status of the session action.GetSessionActionResponse.BuilderworkerUpdatedAt(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 Detail
-
definition
GetSessionActionResponse.Builder definition(SessionActionDefinition 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.Builderavoiding the need to create one manually viaSessionActionDefinition.builder().When the
Consumercompletes,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:
definition(SessionActionDefinition)
-
endedAt
GetSessionActionResponse.Builder endedAt(Instant 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
GetSessionActionResponse.Builder processExitCode(Integer 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
GetSessionActionResponse.Builder progressMessage(String 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
GetSessionActionResponse.Builder progressPercent(Float 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
GetSessionActionResponse.Builder sessionActionId(String 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
GetSessionActionResponse.Builder sessionId(String 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
GetSessionActionResponse.Builder startedAt(Instant 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
GetSessionActionResponse.Builder status(String 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:
SessionActionStatus,SessionActionStatus
-
status
GetSessionActionResponse.Builder status(SessionActionStatus 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:
SessionActionStatus,SessionActionStatus
-
workerUpdatedAt
GetSessionActionResponse.Builder workerUpdatedAt(Instant 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.
-
-