Interface GetSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSessionResponse.Builder,
,GetSessionResponse> DeadlineResponse.Builder
,SdkBuilder<GetSessionResponse.Builder,
,GetSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSessionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the resource ended running.The fleet ID for the session.default GetSessionResponse.Builder
hostProperties
(Consumer<HostPropertiesResponse.Builder> hostProperties) Provides the Amazon EC2 properties of the host.hostProperties
(HostPropertiesResponse hostProperties) Provides the Amazon EC2 properties of the host.lifecycleStatus
(String lifecycleStatus) The life cycle status of the session.lifecycleStatus
(SessionLifecycleStatus lifecycleStatus) The life cycle status of the session.default GetSessionResponse.Builder
The session log.log
(LogConfiguration log) The session log.The session ID.The date and time the resource started running.targetLifecycleStatus
(String targetLifecycleStatus) The life cycle status with which the session started.targetLifecycleStatus
(SessionLifecycleTargetStatus targetLifecycleStatus) The life cycle status with which the session started.The date and time the resource was updated.The user or system that updated this resource.The worker ID for the session.default GetSessionResponse.Builder
workerLog
(Consumer<LogConfiguration.Builder> workerLog) The worker log for the session.workerLog
(LogConfiguration workerLog) The worker log for the session.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
-
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.
-
fleetId
The fleet ID for the session.
- Parameters:
fleetId
- The fleet ID for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
Provides the Amazon EC2 properties of the host.
- Parameters:
hostProperties
- Provides the Amazon EC2 properties of the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostProperties
default GetSessionResponse.Builder hostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties) Provides the Amazon EC2 properties of the host.
This is a convenience method that creates an instance of theHostPropertiesResponse.Builder
avoiding the need to create one manually viaHostPropertiesResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostProperties(HostPropertiesResponse)
.- Parameters:
hostProperties
- a consumer that will call methods onHostPropertiesResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStatus
The life cycle status of the session.
- Parameters:
lifecycleStatus
- The life cycle status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStatus
The life cycle status of the session.
- Parameters:
lifecycleStatus
- The life cycle status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
log
The session log.
- Parameters:
log
- The session log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
The session log.
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 tolog(LogConfiguration)
.- Parameters:
log
- 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:
-
sessionId
The session ID.
- Parameters:
sessionId
- The session ID.- 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.
-
targetLifecycleStatus
The life cycle status with which the session started.
- Parameters:
targetLifecycleStatus
- The life cycle status with which the session started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetLifecycleStatus
GetSessionResponse.Builder targetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus) The life cycle status with which the session started.
- Parameters:
targetLifecycleStatus
- The life cycle status with which the session started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time the resource was updated.
- Parameters:
updatedAt
- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user or system that updated this resource.
- Parameters:
updatedBy
- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerId
The worker ID for the session.
- Parameters:
workerId
- The worker ID for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerLog
The worker log for the session.
- Parameters:
workerLog
- The worker log for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerLog
The worker log for the 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 toworkerLog(LogConfiguration)
.- Parameters:
workerLog
- 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:
-