@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 |
addEnvironmentVariablesEntry(String key,
String value)
Add a single EnvironmentVariables entry
|
StartNotebookExecutionRequest |
clearEnvironmentVariablesEntries()
Removes all the entries added into EnvironmentVariables.
|
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 Amazon EMR Notebook to use for notebook execution.
|
Map<String,String> |
getEnvironmentVariables()
The environment variables associated with the 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 Amazon EMR Notebook for this
notebook execution.
|
String |
getNotebookParams()
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
NotebookS3LocationFromInput |
getNotebookS3Location()
The Amazon S3 location for the notebook execution input.
|
String |
getOutputNotebookFormat()
The output format for the notebook execution.
|
OutputNotebookS3LocationFromInput |
getOutputNotebookS3Location()
The Amazon S3 location for the notebook execution output.
|
String |
getRelativePath()
The path and file name of the notebook file for this execution, relative to the path specified for the Amazon EMR
Notebook.
|
String |
getServiceRole()
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the Amazon 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 Amazon EMR Notebook to use for notebook execution.
|
void |
setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the 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 Amazon EMR Notebook for this
notebook execution.
|
void |
setNotebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
void |
setNotebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.
|
void |
setOutputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
|
void |
setOutputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
|
void |
setRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the Amazon 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 Amazon 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 Amazon EMR Notebook to use for notebook execution.
|
StartNotebookExecutionRequest |
withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the 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 Amazon EMR Notebook for this
notebook execution.
|
StartNotebookExecutionRequest |
withNotebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
StartNotebookExecutionRequest |
withNotebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.
|
StartNotebookExecutionRequest |
withOutputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.
|
StartNotebookExecutionRequest |
withOutputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
|
StartNotebookExecutionRequest |
withOutputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
|
StartNotebookExecutionRequest |
withRelativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the Amazon 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 Amazon 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 Amazon EMR Notebook to use for notebook execution.
editorId
- The unique identifier of the Amazon EMR Notebook to use for notebook execution.public String getEditorId()
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
public StartNotebookExecutionRequest withEditorId(String editorId)
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
editorId
- The unique identifier of the Amazon 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 Amazon EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an Amazon
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
Amazon EMR Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you
create an Amazon 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 Amazon EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an Amazon
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 Amazon 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 Amazon EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an Amazon
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
Amazon EMR Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you
create an Amazon 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 Amazon EMR Notebook at runtime for execution.
notebookParams
- Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.public String getNotebookParams()
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
public StartNotebookExecutionRequest withNotebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
notebookParams
- Input parameters in JSON format passed to the Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon EMR role) for
the notebook execution.public void setNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this
notebook execution.public String getNotebookInstanceSecurityGroupId()
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
public StartNotebookExecutionRequest withNotebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the Amazon 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 void setNotebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.
notebookS3Location
- The Amazon S3 location for the notebook execution input.public NotebookS3LocationFromInput getNotebookS3Location()
The Amazon S3 location for the notebook execution input.
public StartNotebookExecutionRequest withNotebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.
notebookS3Location
- The Amazon S3 location for the notebook execution input.public void setOutputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
outputNotebookS3Location
- The Amazon S3 location for the notebook execution output.public OutputNotebookS3LocationFromInput getOutputNotebookS3Location()
The Amazon S3 location for the notebook execution output.
public StartNotebookExecutionRequest withOutputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
outputNotebookS3Location
- The Amazon S3 location for the notebook execution output.public void setOutputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
outputNotebookFormat
- The output format for the notebook execution.OutputNotebookFormat
public String getOutputNotebookFormat()
The output format for the notebook execution.
OutputNotebookFormat
public StartNotebookExecutionRequest withOutputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
outputNotebookFormat
- The output format for the notebook execution.OutputNotebookFormat
public StartNotebookExecutionRequest withOutputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.
outputNotebookFormat
- The output format for the notebook execution.OutputNotebookFormat
public Map<String,String> getEnvironmentVariables()
The environment variables associated with the notebook execution.
public void setEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the notebook execution.
environmentVariables
- The environment variables associated with the notebook execution.public StartNotebookExecutionRequest withEnvironmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the notebook execution.
environmentVariables
- The environment variables associated with the notebook execution.public StartNotebookExecutionRequest addEnvironmentVariablesEntry(String key, String value)
public StartNotebookExecutionRequest clearEnvironmentVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public StartNotebookExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()