Interface TerminateSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TerminateSessionResponse.Builder,,TerminateSessionResponse> EmrResponse.Builder,SdkBuilder<TerminateSessionResponse.Builder,,TerminateSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
TerminateSessionResponse
@Mutable
@NotThreadSafe
public static interface TerminateSessionResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<TerminateSessionResponse.Builder,TerminateSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the cluster that the session belonged to.The ID of the terminated session.The state of the session after the terminate request has been accepted.state(SessionState state) The state of the session after the terminate request has been accepted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterId
The ID of the cluster that the session belonged to.
- Parameters:
clusterId- The ID of the cluster that the session belonged to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The ID of the terminated session.
- Parameters:
sessionId- The ID of the terminated session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the session after the terminate request has been accepted.
- Parameters:
state- The state of the session after the terminate request has been accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the session after the terminate request has been accepted.
- Parameters:
state- The state of the session after the terminate request has been accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-