Interface DescribeNotebookExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNotebookExecutionResponse.Builder,
,DescribeNotebookExecutionResponse> EmrResponse.Builder
,SdkBuilder<DescribeNotebookExecutionResponse.Builder,
,DescribeNotebookExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNotebookExecutionResponse
public static interface DescribeNotebookExecutionResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotebookExecutionResponse.Builder,DescribeNotebookExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotebookExecution
(Consumer<NotebookExecution.Builder> notebookExecution) Properties of the notebook execution.notebookExecution
(NotebookExecution notebookExecution) Properties of the notebook execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notebookExecution
Properties of the notebook execution.
- Parameters:
notebookExecution
- Properties of the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookExecution
default DescribeNotebookExecutionResponse.Builder notebookExecution(Consumer<NotebookExecution.Builder> notebookExecution) Properties of the notebook execution.
This is a convenience method that creates an instance of theNotebookExecution.Builder
avoiding the need to create one manually viaNotebookExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotebookExecution(NotebookExecution)
.- Parameters:
notebookExecution
- a consumer that will call methods onNotebookExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-