Interface TerminateSessionResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<TerminateSessionResponse.Builder,TerminateSessionResponse>
,SdkBuilder<TerminateSessionResponse.Builder,TerminateSessionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- TerminateSessionResponse
public static interface TerminateSessionResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<TerminateSessionResponse.Builder,TerminateSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TerminateSessionResponse.Builder
state(String state)
The state of the session.TerminateSessionResponse.Builder
state(SessionState state)
The state of the session.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
state
TerminateSessionResponse.Builder state(String state)
The state of the session. A description of each state follows.
CREATING
- The session is being started, including acquiring resources.CREATED
- The session has been started.IDLE
- The session is able to accept a calculation.BUSY
- The session is processing another task and is unable to accept a calculation.TERMINATING
- The session is in the process of shutting down.TERMINATED
- The session and its resources are no longer running.DEGRADED
- The session has no healthy coordinators.FAILED
- Due to a failure, the session and its resources are no longer running.- Parameters:
state
- The state of the session. A description of each state follows.CREATING
- The session is being started, including acquiring resources.CREATED
- The session has been started.IDLE
- The session is able to accept a calculation.BUSY
- The session is processing another task and is unable to accept a calculation.TERMINATING
- The session is in the process of shutting down.TERMINATED
- The session and its resources are no longer running.DEGRADED
- The session has no healthy coordinators.FAILED
- Due to a failure, the session and its resources are no longer running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SessionState
,SessionState
-
state
TerminateSessionResponse.Builder state(SessionState state)
The state of the session. A description of each state follows.
CREATING
- The session is being started, including acquiring resources.CREATED
- The session has been started.IDLE
- The session is able to accept a calculation.BUSY
- The session is processing another task and is unable to accept a calculation.TERMINATING
- The session is in the process of shutting down.TERMINATED
- The session and its resources are no longer running.DEGRADED
- The session has no healthy coordinators.FAILED
- Due to a failure, the session and its resources are no longer running.- Parameters:
state
- The state of the session. A description of each state follows.CREATING
- The session is being started, including acquiring resources.CREATED
- The session has been started.IDLE
- The session is able to accept a calculation.BUSY
- The session is processing another task and is unable to accept a calculation.TERMINATING
- The session is in the process of shutting down.TERMINATED
- The session and its resources are no longer running.DEGRADED
- The session has no healthy coordinators.FAILED
- Due to a failure, the session and its resources are no longer running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SessionState
,SessionState
-
-