@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNotebookRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateNotebookRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateNotebookRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only
once).
|
String |
getNotebookId()
The ID of the notebook to update.
|
String |
getPayload()
The updated content for the notebook.
|
String |
getSessionId()
The ID of the session in which the notebook will be updated.
|
String |
getType()
The notebook content type.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only
once).
|
void |
setNotebookId(String notebookId)
The ID of the notebook to update.
|
void |
setPayload(String payload)
The updated content for the notebook.
|
void |
setSessionId(String sessionId)
The ID of the session in which the notebook will be updated.
|
void |
setType(String type)
The notebook content type.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNotebookRequest |
withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only
once).
|
UpdateNotebookRequest |
withNotebookId(String notebookId)
The ID of the notebook to update.
|
UpdateNotebookRequest |
withPayload(String payload)
The updated content for the notebook.
|
UpdateNotebookRequest |
withSessionId(String sessionId)
The ID of the session in which the notebook will be updated.
|
UpdateNotebookRequest |
withType(NotebookType type)
The notebook content type.
|
UpdateNotebookRequest |
withType(String type)
The notebook content type.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setNotebookId(String notebookId)
The ID of the notebook to update.
notebookId - The ID of the notebook to update.public String getNotebookId()
The ID of the notebook to update.
public UpdateNotebookRequest withNotebookId(String notebookId)
The ID of the notebook to update.
notebookId - The ID of the notebook to update.public void setPayload(String payload)
The updated content for the notebook.
payload - The updated content for the notebook.public String getPayload()
The updated content for the notebook.
public UpdateNotebookRequest withPayload(String payload)
The updated content for the notebook.
payload - The updated content for the notebook.public void setType(String type)
The notebook content type. Currently, the only valid type is IPYNB.
type - The notebook content type. Currently, the only valid type is IPYNB.NotebookTypepublic String getType()
The notebook content type. Currently, the only valid type is IPYNB.
IPYNB.NotebookTypepublic UpdateNotebookRequest withType(String type)
The notebook content type. Currently, the only valid type is IPYNB.
type - The notebook content type. Currently, the only valid type is IPYNB.NotebookTypepublic UpdateNotebookRequest withType(NotebookType type)
The notebook content type. Currently, the only valid type is IPYNB.
type - The notebook content type. Currently, the only valid type is IPYNB.NotebookTypepublic void setSessionId(String sessionId)
The ID of the session in which the notebook will be updated.
sessionId - The ID of the session in which the notebook will be updated.public String getSessionId()
The ID of the session in which the notebook will be updated.
public UpdateNotebookRequest withSessionId(String sessionId)
The ID of the session in which the notebook will be updated.
sessionId - The ID of the session in which the notebook will be updated.public void setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
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 you. 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.
clientRequestToken - A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes
only once). 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 you. 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 String getClientRequestToken()
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
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 you. 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.
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 you. 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 UpdateNotebookRequest withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes only once).
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 you. 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.
clientRequestToken - A unique case-sensitive string used to ensure the request to create the notebook is idempotent (executes
only once). 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 you. 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 String toString()
toString in class ObjectObject.toString()public UpdateNotebookRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.