@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartNotebookExecutionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartNotebookExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
StartNotebookExecutionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEditorId()
The unique identifier of the EMR Notebook to use for notebook execution.
|
ExecutionEngineConfig |
getExecutionEngine()
Specifies the execution engine (cluster) that runs the notebook execution.
|
String |
getNotebookExecutionName()
An optional name for the notebook execution.
|
String |
getNotebookInstanceSecurityGroupId()
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook
execution.
|
String |
getNotebookParams()
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
String |
getRelativePath()
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook.
|
String |
getServiceRole()
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook
execution.
|
List<Tag> |
getTags()
A list of tags associated with a notebook execution.
|
int |
hashCode() |
void |
setEditorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
|
void |
setExecutionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
|
void |
setNotebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
|
void |
setNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook
execution.
|
void |
setNotebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
void |
setRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook.
|
void |
setServiceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook
execution.
|
void |
setTags(Collection<Tag> tags)
A list of tags associated with a notebook execution.
|
String |
toString()
Returns a string representation of this object.
|
StartNotebookExecutionRequest |
withEditorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
|
StartNotebookExecutionRequest |
withExecutionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
|
StartNotebookExecutionRequest |
withNotebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
|
StartNotebookExecutionRequest |
withNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook
execution.
|
StartNotebookExecutionRequest |
withNotebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
StartNotebookExecutionRequest |
withRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook.
|
StartNotebookExecutionRequest |
withServiceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook
execution.
|
StartNotebookExecutionRequest |
withTags(Collection<Tag> tags)
A list of tags associated with a notebook execution.
|
StartNotebookExecutionRequest |
withTags(Tag... tags)
A list of tags associated with a notebook execution.
|
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 setEditorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
editorId
- The unique identifier of the EMR Notebook to use for notebook execution.public String getEditorId()
The unique identifier of the EMR Notebook to use for notebook execution.
public StartNotebookExecutionRequest withEditorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
editorId
- The unique identifier of the EMR Notebook to use for notebook execution.public void setRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an EMR
Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the EditorID
of this
request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook execution
is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
relativePath
- The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an
EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook
execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.public String getRelativePath()
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an EMR
Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the EditorID
of this
request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook execution
is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
s3://MyBucket/MyNotebooks
when you
create an EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook
execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.public StartNotebookExecutionRequest withRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an EMR
Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the EditorID
of this
request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook execution
is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
relativePath
- The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an
EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook
execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.public void setNotebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
notebookExecutionName
- An optional name for the notebook execution.public String getNotebookExecutionName()
An optional name for the notebook execution.
public StartNotebookExecutionRequest withNotebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
notebookExecutionName
- An optional name for the notebook execution.public void setNotebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime for execution.public String getNotebookParams()
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
public StartNotebookExecutionRequest withNotebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime for execution.public void setExecutionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
executionEngine
- Specifies the execution engine (cluster) that runs the notebook execution.public ExecutionEngineConfig getExecutionEngine()
Specifies the execution engine (cluster) that runs the notebook execution.
public StartNotebookExecutionRequest withExecutionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
executionEngine
- Specifies the execution engine (cluster) that runs the notebook execution.public void setServiceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
serviceRole
- The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the
notebook execution.public String getServiceRole()
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
public StartNotebookExecutionRequest withServiceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
serviceRole
- The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the
notebook execution.public void setNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this
notebook execution.public String getNotebookInstanceSecurityGroupId()
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
public StartNotebookExecutionRequest withNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this
notebook execution.public List<Tag> getTags()
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
public void setTags(Collection<Tag> tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
tags
- A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of
a required key string with a maximum of 128 characters and an optional value string with a maximum of 256
characters.public StartNotebookExecutionRequest withTags(Tag... tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of
a required key string with a maximum of 128 characters and an optional value string with a maximum of 256
characters.public StartNotebookExecutionRequest withTags(Collection<Tag> tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
tags
- A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of
a required key string with a maximum of 128 characters and an optional value string with a maximum of 256
characters.public String toString()
toString
in class Object
Object.toString()
public StartNotebookExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()