@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNotebookInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNotebookInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNotebookInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectInternetAccess()
Sets whether Amazon SageMaker provides internet access to the notebook instance.
|
String |
getInstanceType()
The type of ML compute instance to launch for the notebook instance.
|
String |
getKmsKeyId()
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.
|
String |
getLifecycleConfigName()
The name of a lifecycle configuration to associate with the notebook instance.
|
String |
getNotebookInstanceName()
The name of the new notebook instance.
|
String |
getRoleArn()
When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to
perform tasks on your behalf.
|
List<String> |
getSecurityGroupIds()
The VPC security group IDs, in the form sg-xxxxxxxx.
|
String |
getSubnetId()
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
|
List<Tag> |
getTags()
A list of tags to associate with the notebook instance.
|
int |
hashCode() |
void |
setDirectInternetAccess(String directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance.
|
void |
setInstanceType(String instanceType)
The type of ML compute instance to launch for the notebook instance.
|
void |
setKmsKeyId(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.
|
void |
setLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance.
|
void |
setNotebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
|
void |
setRoleArn(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.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
void |
setSubnetId(String subnetId)
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
|
void |
setTags(Collection<Tag> tags)
A list of tags to associate with the notebook instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateNotebookInstanceRequest |
withDirectInternetAccess(DirectInternetAccess directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance.
|
CreateNotebookInstanceRequest |
withDirectInternetAccess(String directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance.
|
CreateNotebookInstanceRequest |
withInstanceType(InstanceType instanceType)
The type of ML compute instance to launch for the notebook instance.
|
CreateNotebookInstanceRequest |
withInstanceType(String instanceType)
The type of ML compute instance to launch for the notebook instance.
|
CreateNotebookInstanceRequest |
withKmsKeyId(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 |
withLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance.
|
CreateNotebookInstanceRequest |
withNotebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
|
CreateNotebookInstanceRequest |
withRoleArn(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 |
withSecurityGroupIds(Collection<String> securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
CreateNotebookInstanceRequest |
withSecurityGroupIds(String... securityGroupIds)
The VPC security group IDs, in the form sg-xxxxxxxx.
|
CreateNotebookInstanceRequest |
withSubnetId(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 |
withTags(Collection<Tag> tags)
A list of tags to associate with the notebook instance.
|
CreateNotebookInstanceRequest |
withTags(Tag... tags)
A list of tags to associate with the notebook instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNotebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
notebookInstanceName
- The name of the new notebook instance.public String getNotebookInstanceName()
The name of the new notebook instance.
public CreateNotebookInstanceRequest withNotebookInstanceName(String notebookInstanceName)
The name of the new notebook instance.
notebookInstanceName
- The name of the new notebook instance.public void setInstanceType(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
public String getInstanceType()
The type of ML compute instance to launch for the notebook instance.
InstanceType
public CreateNotebookInstanceRequest withInstanceType(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
public CreateNotebookInstanceRequest withInstanceType(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
public void setSubnetId(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.public String getSubnetId()
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
public CreateNotebookInstanceRequest withSubnetId(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.public List<String> getSecurityGroupIds()
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
public void setSecurityGroupIds(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.public CreateNotebookInstanceRequest withSecurityGroupIds(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.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
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.public CreateNotebookInstanceRequest withSecurityGroupIds(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.public void setRoleArn(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.public String getRoleArn()
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.
public CreateNotebookInstanceRequest withRoleArn(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.public void setKmsKeyId(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.public String getKmsKeyId()
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.
public CreateNotebookInstanceRequest withKmsKeyId(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.public List<Tag> getTags()
A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.
CreateTags
API.public void setTags(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.public CreateNotebookInstanceRequest withTags(Tag... tags)
A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to associate with the notebook instance. You can add tags later by using the
CreateTags
API.public CreateNotebookInstanceRequest withTags(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.public void setLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see notebook-lifecycle-config.
lifecycleConfigName
- The name of a lifecycle configuration to associate with the notebook instance. For information about
lifestyle configurations, see notebook-lifecycle-config.public String getLifecycleConfigName()
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see notebook-lifecycle-config.
public CreateNotebookInstanceRequest withLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see notebook-lifecycle-config.
lifecycleConfigName
- The name of a lifecycle configuration to associate with the notebook instance. For information about
lifestyle configurations, see notebook-lifecycle-config.public void setDirectInternetAccess(String directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will not be
able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your
VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this parameter
to Disabled
only if you set a value for the SubnetId
parameter.
directInternetAccess
- Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will
not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT
Gateway in your VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this
parameter to Disabled
only if you set a value for the SubnetId
parameter.
DirectInternetAccess
public String getDirectInternetAccess()
Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will not be
able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your
VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this parameter
to Disabled
only if you set a value for the SubnetId
parameter.
Disabled
this notebook instance will be able to access resources only in your VPC, and will
not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT
Gateway in your VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this
parameter to Disabled
only if you set a value for the SubnetId
parameter.
DirectInternetAccess
public CreateNotebookInstanceRequest withDirectInternetAccess(String directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will not be
able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your
VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this parameter
to Disabled
only if you set a value for the SubnetId
parameter.
directInternetAccess
- Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will
not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT
Gateway in your VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this
parameter to Disabled
only if you set a value for the SubnetId
parameter.
DirectInternetAccess
public CreateNotebookInstanceRequest withDirectInternetAccess(DirectInternetAccess directInternetAccess)
Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will not be
able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT Gateway in your
VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this parameter
to Disabled
only if you set a value for the SubnetId
parameter.
directInternetAccess
- Sets whether Amazon SageMaker provides internet access to the notebook instance. If you set this to
Disabled
this notebook instance will be able to access resources only in your VPC, and will
not be able to connect to Amazon SageMaker training and endpoint services unless your configure a NAT
Gateway in your VPC.
For more information, see appendix-notebook-and-internet-access. You can set the value of this
parameter to Disabled
only if you set a value for the SubnetId
parameter.
DirectInternetAccess
public String toString()
toString
in class Object
Object.toString()
public CreateNotebookInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.