@Generated(value="software.amazon.awssdk:codegen") public final class ImportNotebookRequest extends AthenaRequest implements ToCopyableBuilder<ImportNotebookRequest.Builder,ImportNotebookRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportNotebookRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImportNotebookRequest.Builder |
builder() |
String |
clientRequestToken()
A unique case-sensitive string used to ensure the request to import the notebook is idempotent (executes only
once).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the notebook to import.
|
String |
payload()
The notebook content to be imported.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportNotebookRequest.Builder> |
serializableBuilderClass() |
ImportNotebookRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NotebookType |
type()
The notebook content type.
|
String |
typeAsString()
The notebook content type.
|
String |
workGroup()
The name of the Spark enabled workgroup to import the notebook to.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workGroup()
The name of the Spark enabled workgroup to import the notebook to.
public final String name()
The name of the notebook to import.
public final String payload()
The notebook content to be imported.
public final NotebookType type()
The notebook content type. Currently, the only valid type is IPYNB.
If the service returns an enum value that is not available in the current SDK version, type will return
NotebookType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
IPYNB.NotebookTypepublic final String typeAsString()
The notebook content type. Currently, the only valid type is IPYNB.
If the service returns an enum value that is not available in the current SDK version, type will return
NotebookType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
IPYNB.NotebookTypepublic final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportNotebookRequest.Builder,ImportNotebookRequest>toBuilder in class AthenaRequestpublic static ImportNotebookRequest.Builder builder()
public static Class<? extends ImportNotebookRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.