Class CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty>
- Enclosing interface:
- CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty
@Stability(Stable)
public static final class CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.minimumInstanceMetadataServiceVersion(String minimumInstanceMetadataServiceVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
minimumInstanceMetadataServiceVersion
@Stability(Stable) public CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.Builder minimumInstanceMetadataServiceVersion(String minimumInstanceMetadataServiceVersion) Sets the value ofCfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.getMinimumInstanceMetadataServiceVersion()- Parameters:
minimumInstanceMetadataServiceVersion- Indicates the minimum IMDS version that the notebook instance supports. This parameter is required. When passed as part ofCreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part ofUpdateNotebookInstance, there is no default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty>- Returns:
- a new instance of
CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-