public class CreateNotebookSessionResponse extends AbstractModel
Constructor and Description |
---|
CreateNotebookSessionResponse() |
CreateNotebookSessionResponse(CreateNotebookSessionResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
String |
getSessionId()
Get Session唯一标识
|
String |
getSparkAppId()
Get Spark任务返回的AppId
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getState()
Get Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setSessionId(String SessionId)
Set Session唯一标识
|
void |
setSparkAppId(String SparkAppId)
Set Spark任务返回的AppId
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setState(String State)
Set Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateNotebookSessionResponse()
public CreateNotebookSessionResponse(CreateNotebookSessionResponse source)
public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- Session唯一标识public String getSparkAppId()
public void setSparkAppId(String SparkAppId)
SparkAppId
- Spark任务返回的AppId
注意:此字段可能返回 null,表示取不到有效值。public String getState()
public void setState(String State)
State
- Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2023. All rights reserved.