Class CreateNotebookSessionResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dlc.v20210125.models.CreateNotebookSessionResponse
-
public class CreateNotebookSessionResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。StringgetSessionId()Get Session唯一标识StringgetSparkAppId()Get Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。StringgetState()Get Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetSessionId(String SessionId)Set Session唯一标识voidsetSparkAppId(String SparkAppId)Set Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。voidsetState(String State)Set Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateNotebookSessionResponse
public CreateNotebookSessionResponse()
-
CreateNotebookSessionResponse
public 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.
-
-
Method Detail
-
getSessionId
public String getSessionId()
Get Session唯一标识- Returns:
- SessionId Session唯一标识
-
setSessionId
public void setSessionId(String SessionId)
Set Session唯一标识- Parameters:
SessionId- Session唯一标识
-
getSparkAppId
public String getSparkAppId()
Get Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SparkAppId Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。
-
setSparkAppId
public void setSparkAppId(String SparkAppId)
Set Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SparkAppId- Spark任务返回的AppId 注意:此字段可能返回 null,表示取不到有效值。
-
getState
public String getState()
Get Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)- Returns:
- State Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
-
setState
public void setState(String State)
Set Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)- Parameters:
State- Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-