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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetNotebookMetadataResponse.BuildernotebookMetadata(Consumer<NotebookMetadata.Builder> notebookMetadata)The metadata that is returned for the specified notebook ID.GetNotebookMetadataResponse.BuildernotebookMetadata(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 Detail
-
notebookMetadata
GetNotebookMetadataResponse.Builder notebookMetadata(NotebookMetadata 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:
notebookMetadata(NotebookMetadata)
-
-