@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) |
String |
getInstanceType()
The Amazon ML compute instance type.
|
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() |
void |
setInstanceType(String instanceType)
The Amazon ML compute instance type.
|
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 |
withInstanceType(InstanceType instanceType)
The Amazon ML compute instance type.
|
UpdateNotebookInstanceRequest |
withInstanceType(String instanceType)
The Amazon ML compute instance type.
|
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 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.