Class NotebookMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.athena.model.NotebookMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotebookMetadata.Builder,NotebookMetadata>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotebookMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotebookMetadata.Builderbuilder()InstantcreationTime()The time when the notebook was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The time when the notebook was last modified.Stringname()The name of the notebook.StringnotebookId()The notebook ID.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NotebookMetadata.Builder>serializableBuilderClass()NotebookMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.NotebookTypetype()The type of notebook.StringtypeAsString()The type of notebook.StringworkGroup()The name of the Spark enabled workgroup to which the notebook belongs.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
notebookId
public final String notebookId()
The notebook ID.
- Returns:
- The notebook ID.
-
name
public final String name()
The name of the notebook.
- Returns:
- The name of the notebook.
-
workGroup
public final String workGroup()
The name of the Spark enabled workgroup to which the notebook belongs.
- Returns:
- The name of the Spark enabled workgroup to which the notebook belongs.
-
creationTime
public final Instant creationTime()
The time when the notebook was created.
- Returns:
- The time when the notebook was created.
-
type
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,
typewill returnNotebookType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of notebook. Currently, the only valid type is
IPYNB. - See Also:
NotebookType
-
typeAsString
public 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,
typewill returnNotebookType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of notebook. Currently, the only valid type is
IPYNB. - See Also:
NotebookType
-
lastModifiedTime
public final Instant lastModifiedTime()
The time when the notebook was last modified.
- Returns:
- The time when the notebook was last modified.
-
toBuilder
public NotebookMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotebookMetadata.Builder,NotebookMetadata>
-
builder
public static NotebookMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotebookMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-