Interface StartNotebookSyncRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartNotebookSyncRequest.Builder,,StartNotebookSyncRequest> DataZoneRequest.Builder,SdkBuilder<StartNotebookSyncRequest.Builder,,StartNotebookSyncRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartNotebookSyncRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.description(String description) The description of the notebook.domainIdentifier(String domainIdentifier) The identifier of the Amazon SageMaker Unified Studio domain in which to sync the notebook.default StartNotebookSyncRequest.BuildergitMetadata(Consumer<GitMetadata.Builder> gitMetadata) The Git metadata for the notebook sync, including repository, branch, and commit information.gitMetadata(GitMetadata gitMetadata) The Git metadata for the notebook sync, including repository, branch, and commit information.The name of the notebook.notebookId(String notebookId) The identifier of an existing notebook to sync.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.owningProjectIdentifier(String owningProjectIdentifier) The identifier of the project that will own the synced notebook.default StartNotebookSyncRequest.BuildersourceLocation(Consumer<SourceLocation.Builder> sourceLocation) The source location of the notebook to sync.sourceLocation(SourceLocation sourceLocation) The source location of the notebook to sync.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainIdentifier
The identifier of the Amazon SageMaker Unified Studio domain in which to sync the notebook.
- Parameters:
domainIdentifier- The identifier of the Amazon SageMaker Unified Studio domain in which to sync the notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningProjectIdentifier
The identifier of the project that will own the synced notebook.
- Parameters:
owningProjectIdentifier- The identifier of the project that will own the synced notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLocation
The source location of the notebook to sync. This specifies the Amazon Simple Storage Service URI of the notebook file.
- Parameters:
sourceLocation- The source location of the notebook to sync. This specifies the Amazon Simple Storage Service URI of the notebook file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLocation
default StartNotebookSyncRequest.Builder sourceLocation(Consumer<SourceLocation.Builder> sourceLocation) The source location of the notebook to sync. This specifies the Amazon Simple Storage Service URI of the notebook file.
This is a convenience method that creates an instance of theSourceLocation.Builderavoiding the need to create one manually viaSourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceLocation(SourceLocation).- Parameters:
sourceLocation- a consumer that will call methods onSourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitMetadata
The Git metadata for the notebook sync, including repository, branch, and commit information.
- Parameters:
gitMetadata- The Git metadata for the notebook sync, including repository, branch, and commit information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitMetadata
The Git metadata for the notebook sync, including repository, branch, and commit information.
This is a convenience method that creates an instance of theGitMetadata.Builderavoiding the need to create one manually viaGitMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitMetadata(GitMetadata).- Parameters:
gitMetadata- a consumer that will call methods onGitMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notebookId
The identifier of an existing notebook to sync. If not specified, a new notebook is created.
- Parameters:
notebookId- The identifier of an existing notebook to sync. If not specified, a new notebook is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the notebook. The name must be between 1 and 256 characters.
- Parameters:
name- The name of the notebook. The name must be between 1 and 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the notebook.
- Parameters:
description- The description of the notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartNotebookSyncRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartNotebookSyncRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-