Interface GetSessionActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSessionActionResponse.Builder,
,GetSessionActionResponse> DeadlineResponse.Builder
,SdkBuilder<GetSessionActionResponse.Builder,
,GetSessionActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSessionActionResponse
-
Method Summary
Modifier and TypeMethodDescriptionacquiredLimits
(Collection<AcquiredLimit> acquiredLimits) The limits and their amounts acquired during a session action.acquiredLimits
(Consumer<AcquiredLimit.Builder>... acquiredLimits) The limits and their amounts acquired during a session action.acquiredLimits
(AcquiredLimit... acquiredLimits) The limits and their amounts acquired during a session action.default 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.manifests
(Collection<TaskRunManifestPropertiesResponse> manifests) The list of manifest properties that describe file attachments for the task run.manifests
(Consumer<TaskRunManifestPropertiesResponse.Builder>... manifests) The list of manifest properties that describe file attachments for the task run.manifests
(TaskRunManifestPropertiesResponse... manifests) The list of manifest properties that describe file attachments for the task run.processExitCode
(Integer processExitCode) The process exit code.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
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:
-
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.
-
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.
-
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.
-
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.
-
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.
-
processExitCode
The process exit code. The default Deadline Cloud worker agent converts unsigned 32-bit exit codes to signed 32-bit exit codes.
- Parameters:
processExitCode
- The process exit code. The default Deadline Cloud worker agent converts unsigned 32-bit exit codes to signed 32-bit exit codes.- 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.
-
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:
-
acquiredLimits
The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.
- Parameters:
acquiredLimits
- The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acquiredLimits
The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.
- Parameters:
acquiredLimits
- The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acquiredLimits
The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.
This is a convenience method that creates an instance of theAcquiredLimit.Builder
avoiding the need to create one manually viaAcquiredLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacquiredLimits(List<AcquiredLimit>)
.- Parameters:
acquiredLimits
- a consumer that will call methods onAcquiredLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
manifests
The list of manifest properties that describe file attachments for the task run.
- Parameters:
manifests
- The list of manifest properties that describe file attachments for the task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifests
The list of manifest properties that describe file attachments for the task run.
- Parameters:
manifests
- The list of manifest properties that describe file attachments for the task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifests
GetSessionActionResponse.Builder manifests(Consumer<TaskRunManifestPropertiesResponse.Builder>... manifests) The list of manifest properties that describe file attachments for the task run.
This is a convenience method that creates an instance of theTaskRunManifestPropertiesResponse.Builder
avoiding the need to create one manually viaTaskRunManifestPropertiesResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanifests(List<TaskRunManifestPropertiesResponse>)
.- Parameters:
manifests
- a consumer that will call methods onTaskRunManifestPropertiesResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-