@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNotebookInstanceLifecycleConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNotebookInstanceLifecycleConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNotebookInstanceLifecycleConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNotebookInstanceLifecycleConfigName()
The name of the lifecycle configuration.
|
List<NotebookInstanceLifecycleHook> |
getOnCreate()
A shell script that runs only once, when you create a notebook instance.
|
List<NotebookInstanceLifecycleHook> |
getOnStart()
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
int |
hashCode() |
void |
setNotebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
|
void |
setOnCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance.
|
void |
setOnStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateNotebookInstanceLifecycleConfigRequest |
withNotebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
|
CreateNotebookInstanceLifecycleConfigRequest |
withOnCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CreateNotebookInstanceLifecycleConfigRequest |
withOnCreate(NotebookInstanceLifecycleHook... onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CreateNotebookInstanceLifecycleConfigRequest |
withOnStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
CreateNotebookInstanceLifecycleConfigRequest |
withOnStart(NotebookInstanceLifecycleHook... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
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 CreateNotebookInstanceLifecycleConfigRequest()
public void setNotebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.public String getNotebookInstanceLifecycleConfigName()
The name of the lifecycle configuration.
public CreateNotebookInstanceLifecycleConfigRequest withNotebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.public List<NotebookInstanceLifecycleHook> getOnCreate()
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
public void setOnCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. The shell script must be a
base64-encoded string.public CreateNotebookInstanceLifecycleConfigRequest withOnCreate(NotebookInstanceLifecycleHook... onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
NOTE: This method appends the values to the existing list (if any). Use
setOnCreate(java.util.Collection)
or withOnCreate(java.util.Collection)
if you want to override
the existing values.
onCreate
- A shell script that runs only once, when you create a notebook instance. The shell script must be a
base64-encoded string.public CreateNotebookInstanceLifecycleConfigRequest withOnCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. The shell script must be a
base64-encoded string.public List<NotebookInstanceLifecycleHook> getOnStart()
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
public void setOnStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the notebook
instance. The shell script must be a base64-encoded string.public CreateNotebookInstanceLifecycleConfigRequest withOnStart(NotebookInstanceLifecycleHook... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
NOTE: This method appends the values to the existing list (if any). Use
setOnStart(java.util.Collection)
or withOnStart(java.util.Collection)
if you want to override
the existing values.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the notebook
instance. The shell script must be a base64-encoded string.public CreateNotebookInstanceLifecycleConfigRequest withOnStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the notebook
instance. The shell script must be a base64-encoded string.public String toString()
toString
in class Object
Object.toString()
public CreateNotebookInstanceLifecycleConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()