@Generated(value="software.amazon.awssdk:codegen") public final class NotebookMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotebookMetadata.Builder,NotebookMetadata>
Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotebookMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotebookMetadata.Builder |
builder() |
Instant |
creationTime()
The time when the notebook was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedTime()
The time when the notebook was last modified.
|
String |
name()
The name of the notebook.
|
String |
notebookId()
The notebook ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotebookMetadata.Builder> |
serializableBuilderClass() |
NotebookMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NotebookType |
type()
The type of notebook.
|
String |
typeAsString()
The type of notebook.
|
String |
workGroup()
The name of the Spark enabled workgroup to which the notebook belongs.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String notebookId()
The notebook ID.
public final String name()
The name of the notebook.
public final String workGroup()
The name of the Spark enabled workgroup to which the notebook belongs.
public final Instant creationTime()
The time when the notebook was created.
public final NotebookType type()
The type of notebook. 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 type of notebook. 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 Instant lastModifiedTime()
The time when the notebook was last modified.
public NotebookMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotebookMetadata.Builder,NotebookMetadata>public static NotebookMetadata.Builder builder()
public static Class<? extends NotebookMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.