Class CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty>
- Enclosing interface:
CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty
@Stability(Stable)
public static final class CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookInstancePropsMixin.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 CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty.Builder minimumInstanceMetadataServiceVersion(String minimumInstanceMetadataServiceVersion) Sets the value ofCfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty.getMinimumInstanceMetadataServiceVersion()- Parameters:
minimumInstanceMetadataServiceVersion- Indicates the minimum IMDS version that the notebook instance supports. 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
@Stability(Stable) public CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty>- Returns:
- a new instance of
CfnNotebookInstancePropsMixin.InstanceMetadataServiceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-