Interface GetNotebookMetadataResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetNotebookMetadataResponse.Builder,,GetNotebookMetadataResponse> SdkBuilder<GetNotebookMetadataResponse.Builder,,GetNotebookMetadataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNotebookMetadataResponse
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, 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, sdkFieldsMethods 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.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:
-