Interface AwsSageMakerNotebookInstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsSageMakerNotebookInstanceDetails.Builder,
,AwsSageMakerNotebookInstanceDetails> SdkBuilder<AwsSageMakerNotebookInstanceDetails.Builder,
,AwsSageMakerNotebookInstanceDetails> SdkPojo
- Enclosing class:
AwsSageMakerNotebookInstanceDetails
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorTypes
(String... acceleratorTypes) A list of Amazon Elastic Inference instance types to associate with the notebook instance.acceleratorTypes
(Collection<String> acceleratorTypes) A list of Amazon Elastic Inference instance types to associate with the notebook instance.additionalCodeRepositories
(String... additionalCodeRepositories) An array of up to three Git repositories associated with the notebook instance.additionalCodeRepositories
(Collection<String> additionalCodeRepositories) An array of up to three Git repositories associated with the notebook instance.defaultCodeRepository
(String defaultCodeRepository) The Git repository associated with the notebook instance as its default code repository.directInternetAccess
(String directInternetAccess) Sets whether SageMaker provides internet access to the notebook instance.failureReason
(String failureReason) If status of the instance isFailed
, the reason it failed.instanceMetadataServiceConfiguration
(Consumer<AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.Builder> instanceMetadataServiceConfiguration) Information on the IMDS configuration of the notebook instance.instanceMetadataServiceConfiguration
(AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails instanceMetadataServiceConfiguration) Information on the IMDS configuration of the notebook instance.instanceType
(String instanceType) The type of machine learning (ML) compute instance to launch for the notebook instance.The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance.networkInterfaceId
(String networkInterfaceId) The network interface ID that SageMaker created when the instance was created.notebookInstanceArn
(String notebookInstanceArn) The Amazon Resource Name (ARN) of the notebook instance.notebookInstanceLifecycleConfigName
(String notebookInstanceLifecycleConfigName) The name of a notebook instance lifecycle configuration.notebookInstanceName
(String notebookInstanceName) The name of the new notebook instance.notebookInstanceStatus
(String notebookInstanceStatus) The status of the notebook instance.platformIdentifier
(String platformIdentifier) The platform identifier of the notebook instance runtime environment.The Amazon Resource Name (ARN) of the IAM role associated with the instance.rootAccess
(String rootAccess) Whether root access is enabled or disabled for users of the notebook instance.securityGroups
(String... securityGroups) The VPC security group IDs.securityGroups
(Collection<String> securityGroups) The VPC security group IDs.The ID of the VPC subnet to which you have a connectivity from your ML compute instance.The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.volumeSizeInGB
(Integer volumeSizeInGB) The size, in GB, of the ML storage volume to attach to the notebook instance.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, sdkFields
-
Method Details
-
acceleratorTypes
A list of Amazon Elastic Inference instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- Parameters:
acceleratorTypes
- A list of Amazon Elastic Inference instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypes
A list of Amazon Elastic Inference instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- Parameters:
acceleratorTypes
- A list of Amazon Elastic Inference instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalCodeRepositories
AwsSageMakerNotebookInstanceDetails.Builder additionalCodeRepositories(Collection<String> additionalCodeRepositories) An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.
- Parameters:
additionalCodeRepositories
- An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalCodeRepositories
AwsSageMakerNotebookInstanceDetails.Builder additionalCodeRepositories(String... additionalCodeRepositories) An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.
- Parameters:
additionalCodeRepositories
- An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultCodeRepository
The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.
- Parameters:
defaultCodeRepository
- The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git repositories with SageMaker notebook instances in the Amazon SageMaker Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directInternetAccess
Sets whether SageMaker provides internet access to the notebook instance. If you set this to
Disabled
, this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a Network Address Translation (NAT) Gateway in your VPC.- Parameters:
directInternetAccess
- Sets whether SageMaker provides internet access to the notebook instance. If you set this toDisabled
, this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a Network Address Translation (NAT) Gateway in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If status of the instance is
Failed
, the reason it failed.- Parameters:
failureReason
- If status of the instance isFailed
, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMetadataServiceConfiguration
AwsSageMakerNotebookInstanceDetails.Builder instanceMetadataServiceConfiguration(AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails instanceMetadataServiceConfiguration) Information on the IMDS configuration of the notebook instance.
- Parameters:
instanceMetadataServiceConfiguration
- Information on the IMDS configuration of the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMetadataServiceConfiguration
default AwsSageMakerNotebookInstanceDetails.Builder instanceMetadataServiceConfiguration(Consumer<AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.Builder> instanceMetadataServiceConfiguration) Information on the IMDS configuration of the notebook instance.
This is a convenience method that creates an instance of theAwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.Builder
avoiding the need to create one manually viaAwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceMetadataServiceConfiguration(AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails)
.- Parameters:
instanceMetadataServiceConfiguration
- a consumer that will call methods onAwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The type of machine learning (ML) compute instance to launch for the notebook instance.
- Parameters:
instanceType
- The type of machine learning (ML) compute instance to launch for the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see Enabling and disabling keys in the Key Management Service Developer Guide.
- Parameters:
kmsKeyId
- The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see Enabling and disabling keys in the Key Management Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
The network interface ID that SageMaker created when the instance was created.
- Parameters:
networkInterfaceId
- The network interface ID that SageMaker created when the instance was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceArn
The Amazon Resource Name (ARN) of the notebook instance.
- Parameters:
notebookInstanceArn
- The Amazon Resource Name (ARN) of the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceLifecycleConfigName
AwsSageMakerNotebookInstanceDetails.Builder notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName) The name of a notebook instance lifecycle configuration.
- Parameters:
notebookInstanceLifecycleConfigName
- The name of a notebook instance lifecycle configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceName
The name of the new notebook instance.
- Parameters:
notebookInstanceName
- The name of the new notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceStatus
The status of the notebook instance.
- Parameters:
notebookInstanceStatus
- The status of the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformIdentifier
The platform identifier of the notebook instance runtime environment.
- Parameters:
platformIdentifier
- The platform identifier of the notebook instance runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role associated with the instance.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootAccess
Whether root access is enabled or disabled for users of the notebook instance.
- Parameters:
rootAccess
- Whether root access is enabled or disabled for users of the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The VPC security group IDs.
- Parameters:
securityGroups
- The VPC security group IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The VPC security group IDs.
- Parameters:
securityGroups
- The VPC security group IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the VPC subnet to which you have a connectivity from your ML compute instance.
- Parameters:
subnetId
- The ID of the VPC subnet to which you have a connectivity from your ML compute instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
- Parameters:
url
- The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSizeInGB
The size, in GB, of the ML storage volume to attach to the notebook instance.
- Parameters:
volumeSizeInGB
- The size, in GB, of the ML storage volume to attach to the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-