@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()
For responses, this returns true if the service returned a value for the AcceleratorTypes property.
|
boolean |
hasAdditionalCodeRepositories()
For responses, this returns true if the service returned a value for the AdditionalCodeRepositories property.
|
int |
hashCode() |
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
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 Amazon Web Services 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 |
platformIdentifier()
The platform identifier of the notebook instance runtime environment.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroups() method.
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the instance.
public final String kmsKeyId()
The Amazon Web Services 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAcceleratorTypes() method.
public final boolean hasAcceleratorTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAcceleratorTypes() method.
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 Amazon Web Services 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()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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 Amazon Web Services 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalCodeRepositories() method.
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 final String platformIdentifier()
The platform identifier of the notebook instance runtime environment.
public 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 © 2022. All rights reserved.