@Generated(value="software.amazon.awssdk:codegen") public final class DescribeNotebookInstanceResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeNotebookInstanceResponse.Builder,DescribeNotebookInstanceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeNotebookInstanceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<NotebookInstanceAcceleratorType> |
acceleratorTypes()
A list of the Elastic Inference (EI) instance types associated with this notebook instance.
|
List<String> |
acceleratorTypesAsStrings()
A list of the Elastic Inference (EI) instance types associated with this notebook instance.
|
List<String> |
additionalCodeRepositories()
An array of up to three Git repositories associated with the notebook instance.
|
static DescribeNotebookInstanceResponse.Builder |
builder() |
Instant |
creationTime()
A timestamp.
|
String |
defaultCodeRepository()
The Git repository associated with the notebook instance as its default code repository.
|
DirectInternetAccess |
directInternetAccess()
Describes whether Amazon SageMaker provides internet access to the notebook instance.
|
String |
directInternetAccessAsString()
Describes whether Amazon SageMaker provides internet access to the notebook instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If status is
Failed, the reason it failed. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAcceleratorTypes()
Returns true if the AcceleratorTypes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAdditionalCodeRepositories()
Returns true if the AdditionalCodeRepositories property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSecurityGroups()
Returns true if the SecurityGroups property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
InstanceType |
instanceType()
The type of ML compute instance running on the notebook instance.
|
String |
instanceTypeAsString()
The type of ML compute instance running on the notebook instance.
|
String |
kmsKeyId()
The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the
instance.
|
Instant |
lastModifiedTime()
A timestamp.
|
String |
networkInterfaceId()
The network interface IDs that Amazon SageMaker created at the time of creating the instance.
|
String |
notebookInstanceArn()
The Amazon Resource Name (ARN) of the notebook instance.
|
String |
notebookInstanceLifecycleConfigName()
Returns the name of a notebook instance lifecycle configuration.
|
String |
notebookInstanceName()
The name of the Amazon SageMaker notebook instance.
|
NotebookInstanceStatus |
notebookInstanceStatus()
The status of the notebook instance.
|
String |
notebookInstanceStatusAsString()
The status of the notebook instance.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the instance.
|
RootAccess |
rootAccess()
Whether root access is enabled or disabled for users of the notebook instance.
|
String |
rootAccessAsString()
Whether root access is enabled or disabled for users of the notebook instance.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The IDs of the VPC security groups.
|
static Class<? extends DescribeNotebookInstanceResponse.Builder> |
serializableBuilderClass() |
String |
subnetId()
The ID of the VPC subnet.
|
DescribeNotebookInstanceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
url()
The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
|
Integer |
volumeSizeInGB()
The size, in GB, of the ML storage volume attached to the notebook instance.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String notebookInstanceArn()
The Amazon Resource Name (ARN) of the notebook instance.
public final String notebookInstanceName()
The name of the Amazon SageMaker notebook instance.
public final NotebookInstanceStatus notebookInstanceStatus()
The status of the notebook instance.
If the service returns an enum value that is not available in the current SDK version,
notebookInstanceStatus will return NotebookInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from notebookInstanceStatusAsString().
NotebookInstanceStatuspublic final String notebookInstanceStatusAsString()
The status of the notebook instance.
If the service returns an enum value that is not available in the current SDK version,
notebookInstanceStatus will return NotebookInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from notebookInstanceStatusAsString().
NotebookInstanceStatuspublic final String failureReason()
If status is Failed, the reason it failed.
Failed, the reason it failed.public final String url()
The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
public final InstanceType instanceType()
The type of ML compute instance running on the notebook instance.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String instanceTypeAsString()
The type of ML compute instance running on the notebook instance.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String subnetId()
The ID of the VPC subnet.
public final boolean hasSecurityGroups()
public final List<String> securityGroups()
The IDs of the VPC security groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroups() to see if a value was sent in this field.
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the instance.
public final String kmsKeyId()
The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.
public final String networkInterfaceId()
The network interface IDs that Amazon SageMaker created at the time of creating the instance.
public final Instant lastModifiedTime()
A timestamp. Use this parameter to retrieve the time when the notebook instance was last modified.
public final Instant creationTime()
A timestamp. Use this parameter to return the time when the notebook instance was created
public final String notebookInstanceLifecycleConfigName()
Returns the name of a notebook instance lifecycle configuration.
For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance
For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance
public final DirectInternetAccess directInternetAccess()
Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to Disabled, the notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services.
For more information, see Notebook Instances Are Internet-Enabled by Default.
If the service returns an enum value that is not available in the current SDK version,
directInternetAccess will return DirectInternetAccess.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from directInternetAccessAsString().
For more information, see Notebook Instances Are Internet-Enabled by Default.
DirectInternetAccesspublic final String directInternetAccessAsString()
Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to Disabled, the notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services.
For more information, see Notebook Instances Are Internet-Enabled by Default.
If the service returns an enum value that is not available in the current SDK version,
directInternetAccess will return DirectInternetAccess.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from directInternetAccessAsString().
For more information, see Notebook Instances Are Internet-Enabled by Default.
DirectInternetAccesspublic final Integer volumeSizeInGB()
The size, in GB, of the ML storage volume attached to the notebook instance.
public final List<NotebookInstanceAcceleratorType> acceleratorTypes()
A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see Using Elastic Inference in Amazon SageMaker.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAcceleratorTypes() to see if a value was sent in this field.
public final boolean hasAcceleratorTypes()
public final List<String> acceleratorTypesAsStrings()
A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see Using Elastic Inference in Amazon SageMaker.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAcceleratorTypes() to see if a value was sent in this field.
public final String 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 AWS 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 Amazon SageMaker Notebook Instances.
public final boolean hasAdditionalCodeRepositories()
public final List<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 AWS 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 Amazon SageMaker Notebook Instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAdditionalCodeRepositories() to see if a value was sent in this field.
public final RootAccess rootAccess()
Whether root access is enabled or disabled for users of the notebook instance.
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
If the service returns an enum value that is not available in the current SDK version, rootAccess will
return RootAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
rootAccessAsString().
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
RootAccesspublic final String rootAccessAsString()
Whether root access is enabled or disabled for users of the notebook instance.
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
If the service returns an enum value that is not available in the current SDK version, rootAccess will
return RootAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
rootAccessAsString().
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
RootAccesspublic DescribeNotebookInstanceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeNotebookInstanceResponse.Builder,DescribeNotebookInstanceResponse>toBuilder in class AwsResponsepublic static DescribeNotebookInstanceResponse.Builder builder()
public static Class<? extends DescribeNotebookInstanceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.