@Generated(value="software.amazon.awssdk:codegen") public final class CreateNotebookInstanceLifecycleConfigRequest extends SageMakerRequest implements ToCopyableBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateNotebookInstanceLifecycleConfigRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateNotebookInstanceLifecycleConfigRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOnCreate()
Returns true if the OnCreate property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasOnStart()
Returns true if the OnStart property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
notebookInstanceLifecycleConfigName()
The name of the lifecycle configuration.
|
List<NotebookInstanceLifecycleHook> |
onCreate()
A shell script that runs only once, when you create a notebook instance.
|
List<NotebookInstanceLifecycleHook> |
onStart()
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateNotebookInstanceLifecycleConfigRequest.Builder> |
serializableBuilderClass() |
CreateNotebookInstanceLifecycleConfigRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String notebookInstanceLifecycleConfigName()
The name of the lifecycle configuration.
public boolean hasOnCreate()
public List<NotebookInstanceLifecycleHook> onCreate()
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOnCreate()
to see if a value was sent in this field.
public boolean hasOnStart()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOnStart()
to see if a value was sent in this field.
public CreateNotebookInstanceLifecycleConfigRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>
toBuilder
in class SageMakerRequest
public static CreateNotebookInstanceLifecycleConfigRequest.Builder builder()
public static Class<? extends CreateNotebookInstanceLifecycleConfigRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.