Class 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>
  • Method Details

    • 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.
    • monitoringConfiguration

      public final MonitoringConfiguration monitoringConfiguration()
      Returns the value of the MonitoringConfiguration property for this object.
      Returns:
      The value of the MonitoringConfiguration property for this object.
    • 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:
      toBuilder in interface ToCopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static GetSessionResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetSessionResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo