@Generated(value="software.amazon.awssdk:codegen") public final class StartSessionRequest extends AthenaRequest implements ToCopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartSessionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartSessionRequest.Builder |
builder() |
String |
clientRequestToken()
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only
once).
|
String |
description()
The session description.
|
EngineConfiguration |
engineConfiguration()
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
notebookVersion()
The notebook version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartSessionRequest.Builder> |
serializableBuilderClass() |
Integer |
sessionIdleTimeoutInMinutes()
The idle timeout in minutes for the session.
|
StartSessionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workGroup()
The workgroup to which the session belongs.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String description()
The session description.
public final String workGroup()
The workgroup to which the session belongs.
public final EngineConfiguration engineConfiguration()
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
public final String notebookVersion()
The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not
required for programmatic session access. The only valid notebook version is
Athena notebook version 1
. If you specify a value for NotebookVersion
, you must also
specify a value for NotebookId
. See EngineConfiguration$AdditionalConfigs.
Athena notebook version 1
. If you specify a value for NotebookVersion
, you must
also specify a value for NotebookId
. See EngineConfiguration$AdditionalConfigs.public final Integer sessionIdleTimeoutInMinutes()
The idle timeout in minutes for the session.
public final String clientRequestToken()
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only
once). If another StartSessionRequest
is received, the same response is returned and another session
is not created. If a parameter has changed, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
StartSessionRequest
is received, the same response is returned and
another session is not created. If a parameter has changed, an error is returned. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public StartSessionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
toBuilder
in class AthenaRequest
public static StartSessionRequest.Builder builder()
public static Class<? extends StartSessionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.