@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNotebookInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateNotebookInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNotebookInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDisassociateLifecycleConfig()
Set to
true to remove the notebook instance lifecycle configuration currently associated with the
notebook instance. |
String |
getInstanceType()
The Amazon ML compute instance type.
|
String |
getLifecycleConfigName()
The name of a lifecycle configuration to associate with the notebook instance.
|
String |
getNotebookInstanceName()
The name of the notebook instance to update.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance.
|
int |
hashCode() |
Boolean |
isDisassociateLifecycleConfig()
Set to
true to remove the notebook instance lifecycle configuration currently associated with the
notebook instance. |
void |
setDisassociateLifecycleConfig(Boolean disassociateLifecycleConfig)
Set to
true to remove the notebook instance lifecycle configuration currently associated with the
notebook instance. |
void |
setInstanceType(String instanceType)
The Amazon ML compute instance type.
|
void |
setLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance.
|
void |
setNotebookInstanceName(String notebookInstanceName)
The name of the notebook instance to update.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateNotebookInstanceRequest |
withDisassociateLifecycleConfig(Boolean disassociateLifecycleConfig)
Set to
true to remove the notebook instance lifecycle configuration currently associated with the
notebook instance. |
UpdateNotebookInstanceRequest |
withInstanceType(InstanceType instanceType)
The Amazon ML compute instance type.
|
UpdateNotebookInstanceRequest |
withInstanceType(String instanceType)
The Amazon ML compute instance type.
|
UpdateNotebookInstanceRequest |
withLifecycleConfigName(String lifecycleConfigName)
The name of a lifecycle configuration to associate with the notebook instance.
|
UpdateNotebookInstanceRequest |
withNotebookInstanceName(String notebookInstanceName)
The name of the notebook instance to update.
|
UpdateNotebookInstanceRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access 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 notebook instance to update.
notebookInstanceName
- The name of the notebook instance to update.public String getNotebookInstanceName()
The name of the notebook instance to update.
public UpdateNotebookInstanceRequest withNotebookInstanceName(String notebookInstanceName)
The name of the notebook instance to update.
notebookInstanceName
- The name of the notebook instance to update.public void setInstanceType(String instanceType)
The Amazon ML compute instance type.
instanceType
- The Amazon ML compute instance type.InstanceType
public String getInstanceType()
The Amazon ML compute instance type.
InstanceType
public UpdateNotebookInstanceRequest withInstanceType(String instanceType)
The Amazon ML compute instance type.
instanceType
- The Amazon ML compute instance type.InstanceType
public UpdateNotebookInstanceRequest withInstanceType(InstanceType instanceType)
The Amazon ML compute instance type.
instanceType
- The Amazon ML compute instance type.InstanceType
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole
permission.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook
instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the
iam:PassRole
permission.
public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole
permission.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the
iam:PassRole
permission.
public UpdateNotebookInstanceRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole
permission.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook
instance. For more information, see Amazon SageMaker Roles.
To be able to pass this role to Amazon SageMaker, the caller of this API must have the
iam:PassRole
permission.
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 UpdateNotebookInstanceRequest 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 setDisassociateLifecycleConfig(Boolean disassociateLifecycleConfig)
Set to true
to remove the notebook instance lifecycle configuration currently associated with the
notebook instance.
disassociateLifecycleConfig
- Set to true
to remove the notebook instance lifecycle configuration currently associated with
the notebook instance.public Boolean getDisassociateLifecycleConfig()
Set to true
to remove the notebook instance lifecycle configuration currently associated with the
notebook instance.
true
to remove the notebook instance lifecycle configuration currently associated
with the notebook instance.public UpdateNotebookInstanceRequest withDisassociateLifecycleConfig(Boolean disassociateLifecycleConfig)
Set to true
to remove the notebook instance lifecycle configuration currently associated with the
notebook instance.
disassociateLifecycleConfig
- Set to true
to remove the notebook instance lifecycle configuration currently associated with
the notebook instance.public Boolean isDisassociateLifecycleConfig()
Set to true
to remove the notebook instance lifecycle configuration currently associated with the
notebook instance.
true
to remove the notebook instance lifecycle configuration currently associated
with the notebook instance.public String toString()
toString
in class Object
Object.toString()
public UpdateNotebookInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.