@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportNotebookRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportNotebookRequest() |
Modifier and Type | Method and Description |
---|---|
ImportNotebookRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only
once).
|
String |
getName()
The name of the notebook to import.
|
String |
getNotebookS3LocationUri()
A URI that specifies the Amazon S3 location of a notebook file in
ipynb format. |
String |
getPayload()
The notebook content to be imported.
|
String |
getType()
The notebook content type.
|
String |
getWorkGroup()
The name of the Spark enabled workgroup to import the notebook to.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only
once).
|
void |
setName(String name)
The name of the notebook to import.
|
void |
setNotebookS3LocationUri(String notebookS3LocationUri)
A URI that specifies the Amazon S3 location of a notebook file in
ipynb format. |
void |
setPayload(String payload)
The notebook content to be imported.
|
void |
setType(String type)
The notebook content type.
|
void |
setWorkGroup(String workGroup)
The name of the Spark enabled workgroup to import the notebook to.
|
String |
toString()
Returns a string representation of this object.
|
ImportNotebookRequest |
withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only
once).
|
ImportNotebookRequest |
withName(String name)
The name of the notebook to import.
|
ImportNotebookRequest |
withNotebookS3LocationUri(String notebookS3LocationUri)
A URI that specifies the Amazon S3 location of a notebook file in
ipynb format. |
ImportNotebookRequest |
withPayload(String payload)
The notebook content to be imported.
|
ImportNotebookRequest |
withType(NotebookType type)
The notebook content type.
|
ImportNotebookRequest |
withType(String type)
The notebook content type.
|
ImportNotebookRequest |
withWorkGroup(String workGroup)
The name of the Spark enabled workgroup to import the notebook to.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setWorkGroup(String workGroup)
The name of the Spark enabled workgroup to import the notebook to.
workGroup
- The name of the Spark enabled workgroup to import the notebook to.public String getWorkGroup()
The name of the Spark enabled workgroup to import the notebook to.
public ImportNotebookRequest withWorkGroup(String workGroup)
The name of the Spark enabled workgroup to import the notebook to.
workGroup
- The name of the Spark enabled workgroup to import the notebook to.public void setName(String name)
The name of the notebook to import.
name
- The name of the notebook to import.public String getName()
The name of the notebook to import.
public ImportNotebookRequest withName(String name)
The name of the notebook to import.
name
- The name of the notebook to import.public void setPayload(String payload)
The notebook content to be imported. The payload must be in ipynb
format.
payload
- The notebook content to be imported. The payload must be in ipynb
format.public String getPayload()
The notebook content to be imported. The payload must be in ipynb
format.
ipynb
format.public ImportNotebookRequest withPayload(String payload)
The notebook content to be imported. The payload must be in ipynb
format.
payload
- The notebook content to be imported. The payload must be in ipynb
format.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
.NotebookType
public String getType()
The notebook content type. Currently, the only valid type is IPYNB
.
IPYNB
.NotebookType
public ImportNotebookRequest 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
.NotebookType
public ImportNotebookRequest 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
.NotebookType
public void setNotebookS3LocationUri(String notebookS3LocationUri)
A URI that specifies the Amazon S3 location of a notebook file in ipynb
format.
notebookS3LocationUri
- A URI that specifies the Amazon S3 location of a notebook file in ipynb
format.public String getNotebookS3LocationUri()
A URI that specifies the Amazon S3 location of a notebook file in ipynb
format.
ipynb
format.public ImportNotebookRequest withNotebookS3LocationUri(String notebookS3LocationUri)
A URI that specifies the Amazon S3 location of a notebook file in ipynb
format.
notebookS3LocationUri
- A URI that specifies the Amazon S3 location of a notebook file in ipynb
format.public void setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to import 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 import 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 import 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 ImportNotebookRequest withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to import 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 import 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 Object
Object.toString()
public ImportNotebookRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()