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.BuildernotebookMetadata(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaNotebookMetadata.builder().When the
Consumercompletes,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.
-