Interface ExportNotebookResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ExportNotebookResponse.Builder,
,ExportNotebookResponse> SdkBuilder<ExportNotebookResponse.Builder,
,ExportNotebookResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ExportNotebookResponse
@Mutable
@NotThreadSafe
public static interface ExportNotebookResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ExportNotebookResponse.Builder,ExportNotebookResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExportNotebookResponse.Builder
notebookMetadata
(Consumer<NotebookMetadata.Builder> notebookMetadata) The notebook metadata, including notebook ID, notebook name, and workgroup name.notebookMetadata
(NotebookMetadata notebookMetadata) The notebook metadata, including notebook ID, notebook name, and workgroup name.The content of the exported notebook.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notebookMetadata
The notebook metadata, including notebook ID, notebook name, and workgroup name.
- Parameters:
notebookMetadata
- The notebook metadata, including notebook ID, notebook name, and workgroup name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookMetadata
default ExportNotebookResponse.Builder notebookMetadata(Consumer<NotebookMetadata.Builder> notebookMetadata) The notebook metadata, including notebook ID, notebook name, and workgroup name.
This is a convenience method that creates an instance of theNotebookMetadata.Builder
avoiding the need to create one manually viaNotebookMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotebookMetadata(NotebookMetadata)
.- Parameters:
notebookMetadata
- a consumer that will call methods onNotebookMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
The content of the exported notebook.
- Parameters:
payload
- The content of the exported notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-