Class GetSessionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.athena.model.AthenaResponse
-
- software.amazon.awssdk.services.athena.model.GetSessionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSessionResponse extends AthenaResponse implements ToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSessionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSessionResponse.Builderbuilder()Stringdescription()The session description.EngineConfigurationengineConfiguration()Contains engine configuration information like DPU usage.StringengineVersion()The engine version used by the session (for example,PySpark engine version 3).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnotebookVersion()The notebook version.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetSessionResponse.Builder>serializableBuilderClass()SessionConfigurationsessionConfiguration()Contains the workgroup configuration information used by the session.StringsessionId()The session ID.SessionStatisticsstatistics()Contains the DPU execution time.SessionStatusstatus()Contains information about the status of the session.GetSessionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkGroup()The workgroup to which the session belongs.-
Methods inherited from class software.amazon.awssdk.services.athena.model.AthenaResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sessionId
public final String sessionId()
The session ID.
- Returns:
- The session ID.
-
description
public final String description()
The session description.
- Returns:
- The session description.
-
workGroup
public final String workGroup()
The workgroup to which the session belongs.
- Returns:
- The workgroup to which the session belongs.
-
engineVersion
public final String engineVersion()
The engine version used by the session (for example,
PySpark engine version 3). You can get a list of engine versions by calling ListEngineVersions.- Returns:
- The engine version used by the session (for example,
PySpark engine version 3). You can get a list of engine versions by calling ListEngineVersions.
-
engineConfiguration
public final EngineConfiguration engineConfiguration()
Contains engine configuration information like DPU usage.
- Returns:
- Contains engine configuration information like DPU usage.
-
notebookVersion
public final String notebookVersion()
The notebook version.
- Returns:
- The notebook version.
-
sessionConfiguration
public final SessionConfiguration sessionConfiguration()
Contains the workgroup configuration information used by the session.
- Returns:
- Contains the workgroup configuration information used by the session.
-
status
public final SessionStatus status()
Contains information about the status of the session.
- Returns:
- Contains information about the status of the session.
-
statistics
public final SessionStatistics statistics()
Contains the DPU execution time.
- Returns:
- Contains the DPU execution time.
-
toBuilder
public GetSessionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSessionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSessionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-