Interface GetSessionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>,DeadlineResponse.Builder,SdkBuilder<GetSessionResponse.Builder,GetSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSessionResponse
public static interface GetSessionResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSessionResponse.BuilderendedAt(Instant endedAt)The date and time the resource ended running.GetSessionResponse.BuilderfleetId(String fleetId)The fleet ID for the session.default GetSessionResponse.BuilderhostProperties(Consumer<HostPropertiesResponse.Builder> hostProperties)Provides the Amazon EC2 properties of the host.GetSessionResponse.BuilderhostProperties(HostPropertiesResponse hostProperties)Provides the Amazon EC2 properties of the host.GetSessionResponse.BuilderlifecycleStatus(String lifecycleStatus)The life cycle status of the session.GetSessionResponse.BuilderlifecycleStatus(SessionLifecycleStatus lifecycleStatus)The life cycle status of the session.default GetSessionResponse.Builderlog(Consumer<LogConfiguration.Builder> log)The session log.GetSessionResponse.Builderlog(LogConfiguration log)The session log.GetSessionResponse.BuildersessionId(String sessionId)The session ID.GetSessionResponse.BuilderstartedAt(Instant startedAt)The date and time the resource started running.GetSessionResponse.BuildertargetLifecycleStatus(String targetLifecycleStatus)The life cycle status with which the session started.GetSessionResponse.BuildertargetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus)The life cycle status with which the session started.GetSessionResponse.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.GetSessionResponse.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.GetSessionResponse.BuilderworkerId(String workerId)The worker ID for the session.default GetSessionResponse.BuilderworkerLog(Consumer<LogConfiguration.Builder> workerLog)The worker log for the session.GetSessionResponse.BuilderworkerLog(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 Detail
-
endedAt
GetSessionResponse.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.
-
fleetId
GetSessionResponse.Builder fleetId(String 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
GetSessionResponse.Builder hostProperties(HostPropertiesResponse 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.Builderavoiding the need to create one manually viaHostPropertiesResponse.builder().When the
Consumercompletes,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:
hostProperties(HostPropertiesResponse)
-
lifecycleStatus
GetSessionResponse.Builder lifecycleStatus(String 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:
SessionLifecycleStatus,SessionLifecycleStatus
-
lifecycleStatus
GetSessionResponse.Builder lifecycleStatus(SessionLifecycleStatus 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:
SessionLifecycleStatus,SessionLifecycleStatus
-
log
GetSessionResponse.Builder log(LogConfiguration 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
default GetSessionResponse.Builder log(Consumer<LogConfiguration.Builder> log)
The session log.
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 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:
log(LogConfiguration)
-
sessionId
GetSessionResponse.Builder sessionId(String 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
GetSessionResponse.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.
-
targetLifecycleStatus
GetSessionResponse.Builder targetLifecycleStatus(String 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:
SessionLifecycleTargetStatus,SessionLifecycleTargetStatus
-
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:
SessionLifecycleTargetStatus,SessionLifecycleTargetStatus
-
updatedAt
GetSessionResponse.Builder updatedAt(Instant 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
GetSessionResponse.Builder updatedBy(String 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
GetSessionResponse.Builder workerId(String 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
GetSessionResponse.Builder workerLog(LogConfiguration 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
default GetSessionResponse.Builder workerLog(Consumer<LogConfiguration.Builder> workerLog)
The worker log for the 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 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:
workerLog(LogConfiguration)
-
-