Interface StartSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartSessionResponse.Builder,,StartSessionResponse> EmrResponse.Builder,SdkBuilder<StartSessionResponse.Builder,,StartSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartSessionResponse
@Mutable
@NotThreadSafe
public static interface StartSessionResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<StartSessionResponse.Builder,StartSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID that owns the session.The output contains the ARN of the session.The ID of the cluster that the session was started on.The output contains the ID of the session.The state of the session at the time the request returned.state(SessionState state) The state of the session at the time the request returned.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
-
id
The output contains the ID of the session.
- Parameters:
id- The output contains the ID of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterId
The ID of the cluster that the session was started on.
- Parameters:
clusterId- The ID of the cluster that the session was started on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The output contains the ARN of the session.
- Parameters:
arn- The output contains the ARN of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID that owns the session.
- Parameters:
accountId- The Amazon Web Services account ID that owns the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the session at the time the request returned. When a session is first created, it enters the
SUBMITTEDstate.- Parameters:
state- The state of the session at the time the request returned. When a session is first created, it enters theSUBMITTEDstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the session at the time the request returned. When a session is first created, it enters the
SUBMITTEDstate.- Parameters:
state- The state of the session at the time the request returned. When a session is first created, it enters theSUBMITTEDstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-