Interface GetNotebookMetadataResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetNotebookMetadataResponse.Builder,
,GetNotebookMetadataResponse> SdkBuilder<GetNotebookMetadataResponse.Builder,
,GetNotebookMetadataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetNotebookMetadataResponse
@Mutable
@NotThreadSafe
public static interface GetNotebookMetadataResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetNotebookMetadataResponse.Builder,GetNotebookMetadataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotebookMetadata
(Consumer<NotebookMetadata.Builder> notebookMetadata) The metadata that is returned for the specified notebook ID.notebookMetadata
(NotebookMetadata notebookMetadata) The metadata that is returned for the specified notebook ID.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 metadata that is returned for the specified notebook ID.
- Parameters:
notebookMetadata
- The metadata that is returned for the specified notebook ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookMetadata
default GetNotebookMetadataResponse.Builder notebookMetadata(Consumer<NotebookMetadata.Builder> notebookMetadata) The metadata that is returned for the specified notebook ID.
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:
-