@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotebookMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.
Constructor and Description |
---|
NotebookMetadata() |
Modifier and Type | Method and Description |
---|---|
NotebookMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time when the notebook was created.
|
Date |
getLastModifiedTime()
The time when the notebook was last modified.
|
String |
getName()
The name of the notebook.
|
String |
getNotebookId()
The notebook ID.
|
String |
getType()
The type of notebook.
|
String |
getWorkGroup()
The name of the Spark enabled workgroup to which the notebook belongs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreationTime(Date creationTime)
The time when the notebook was created.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The time when the notebook was last modified.
|
void |
setName(String name)
The name of the notebook.
|
void |
setNotebookId(String notebookId)
The notebook ID.
|
void |
setType(String type)
The type of notebook.
|
void |
setWorkGroup(String workGroup)
The name of the Spark enabled workgroup to which the notebook belongs.
|
String |
toString()
Returns a string representation of this object.
|
NotebookMetadata |
withCreationTime(Date creationTime)
The time when the notebook was created.
|
NotebookMetadata |
withLastModifiedTime(Date lastModifiedTime)
The time when the notebook was last modified.
|
NotebookMetadata |
withName(String name)
The name of the notebook.
|
NotebookMetadata |
withNotebookId(String notebookId)
The notebook ID.
|
NotebookMetadata |
withType(NotebookType type)
The type of notebook.
|
NotebookMetadata |
withType(String type)
The type of notebook.
|
NotebookMetadata |
withWorkGroup(String workGroup)
The name of the Spark enabled workgroup to which the notebook belongs.
|
public void setNotebookId(String notebookId)
The notebook ID.
notebookId
- The notebook ID.public String getNotebookId()
The notebook ID.
public NotebookMetadata withNotebookId(String notebookId)
The notebook ID.
notebookId
- The notebook ID.public void setName(String name)
The name of the notebook.
name
- The name of the notebook.public String getName()
The name of the notebook.
public NotebookMetadata withName(String name)
The name of the notebook.
name
- The name of the notebook.public void setWorkGroup(String workGroup)
The name of the Spark enabled workgroup to which the notebook belongs.
workGroup
- The name of the Spark enabled workgroup to which the notebook belongs.public String getWorkGroup()
The name of the Spark enabled workgroup to which the notebook belongs.
public NotebookMetadata withWorkGroup(String workGroup)
The name of the Spark enabled workgroup to which the notebook belongs.
workGroup
- The name of the Spark enabled workgroup to which the notebook belongs.public void setCreationTime(Date creationTime)
The time when the notebook was created.
creationTime
- The time when the notebook was created.public Date getCreationTime()
The time when the notebook was created.
public NotebookMetadata withCreationTime(Date creationTime)
The time when the notebook was created.
creationTime
- The time when the notebook was created.public void setType(String type)
The type of notebook. Currently, the only valid type is IPYNB
.
type
- The type of notebook. Currently, the only valid type is IPYNB
.NotebookType
public String getType()
The type of notebook. Currently, the only valid type is IPYNB
.
IPYNB
.NotebookType
public NotebookMetadata withType(String type)
The type of notebook. Currently, the only valid type is IPYNB
.
type
- The type of notebook. Currently, the only valid type is IPYNB
.NotebookType
public NotebookMetadata withType(NotebookType type)
The type of notebook. Currently, the only valid type is IPYNB
.
type
- The type of notebook. Currently, the only valid type is IPYNB
.NotebookType
public void setLastModifiedTime(Date lastModifiedTime)
The time when the notebook was last modified.
lastModifiedTime
- The time when the notebook was last modified.public Date getLastModifiedTime()
The time when the notebook was last modified.
public NotebookMetadata withLastModifiedTime(Date lastModifiedTime)
The time when the notebook was last modified.
lastModifiedTime
- The time when the notebook was last modified.public String toString()
toString
in class Object
Object.toString()
public NotebookMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.