public static interface CreateNotebookInstanceRequest.Builder extends SageMakerRequest.Builder, CopyableBuilder<CreateNotebookInstanceRequest.Builder,CreateNotebookInstanceRequest>
Modifier and Type | Method and Description |
---|---|
CreateNotebookInstanceRequest.Builder |
instanceType(InstanceType instanceType)
The type of ML compute instance to launch for the notebook instance.
|
CreateNotebookInstanceRequest.Builder |
instanceType(String instanceType)
The type of ML compute instance to launch for the notebook instance.
|
CreateNotebookInstanceRequest.Builder |
kmsKeyId(String kmsKeyId)
If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt data at rest on the ML storage volume
that is attached to your notebook instance.
|
CreateNotebookInstanceRequest.Builder |
notebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
|
CreateNotebookInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateNotebookInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateNotebookInstanceRequest.Builder |
roleArn(String roleArn)
When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to
perform tasks on your behalf.
|
CreateNotebookInstanceRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
CreateNotebookInstanceRequest.Builder |
securityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
CreateNotebookInstanceRequest.Builder |
subnetId(String subnetId)
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
|
CreateNotebookInstanceRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to associate with the notebook instance.
|
CreateNotebookInstanceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with the notebook instance.
|
CreateNotebookInstanceRequest.Builder |
tags(Tag... tags)
A list of tags to associate with the notebook instance.
|
build
overrideConfiguration
copy
applyMutation, build
CreateNotebookInstanceRequest.Builder notebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
notebookInstanceName
- The name of the new notebook instance.CreateNotebookInstanceRequest.Builder instanceType(String instanceType)
The type of ML compute instance to launch for the notebook instance.
instanceType
- The type of ML compute instance to launch for the notebook instance.InstanceType
,
InstanceType
CreateNotebookInstanceRequest.Builder instanceType(InstanceType instanceType)
The type of ML compute instance to launch for the notebook instance.
instanceType
- The type of ML compute instance to launch for the notebook instance.InstanceType
,
InstanceType
CreateNotebookInstanceRequest.Builder subnetId(String subnetId)
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
subnetId
- The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute
instance.CreateNotebookInstanceRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
securityGroupIds
- The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as
specified in the subnet.CreateNotebookInstanceRequest.Builder securityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
securityGroupIds
- The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as
specified in the subnet.CreateNotebookInstanceRequest.Builder roleArn(String roleArn)
When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so Amazon SageMaker can perform these tasks. The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see Amazon SageMaker Roles.
roleArn
- When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this
role to perform tasks on your behalf. You must grant this role necessary permissions so Amazon
SageMaker can perform these tasks. The policy must allow the Amazon SageMaker service principal
(sagemaker.amazonaws.com) permissions to assume this role. For more information, see Amazon SageMaker Roles.CreateNotebookInstanceRequest.Builder kmsKeyId(String kmsKeyId)
If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt data at rest on the ML storage volume that is attached to your notebook instance.
kmsKeyId
- If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt data at rest on the ML storage
volume that is attached to your notebook instance.CreateNotebookInstanceRequest.Builder tags(Collection<Tag> tags)
A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.
tags
- A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.CreateNotebookInstanceRequest.Builder tags(Tag... tags)
A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.
tags
- A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.CreateNotebookInstanceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateNotebookInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateNotebookInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.