Class NotebookInstanceState.Builder

  • Enclosing class:
    NotebookInstanceState

    public static final class NotebookInstanceState.Builder
    extends java.lang.Object
    • Method Detail

      • additionalCodeRepositories

        public NotebookInstanceState.Builder additionalCodeRepositories​(@Nullable
                                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • additionalCodeRepositories

        public NotebookInstanceState.Builder additionalCodeRepositories​(java.util.List<java.lang.String> additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • additionalCodeRepositories

        public NotebookInstanceState.Builder additionalCodeRepositories​(java.lang.String... additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • arn

        public NotebookInstanceState.Builder arn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN assigned by AWS to this notebook instance.
        Returns:
        builder
      • arn

        public NotebookInstanceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN assigned by AWS to this notebook instance.
        Returns:
        builder
      • defaultCodeRepository

        public NotebookInstanceState.Builder defaultCodeRepository​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> defaultCodeRepository)
        Parameters:
        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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
        Returns:
        builder
      • defaultCodeRepository

        public NotebookInstanceState.Builder defaultCodeRepository​(java.lang.String defaultCodeRepository)
        Parameters:
        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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
        Returns:
        builder
      • directInternetAccess

        public NotebookInstanceState.Builder directInternetAccess​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> directInternetAccess)
        Parameters:
        directInternetAccess - Set to `Disabled` to disable internet access to notebook. Requires `securityGroups` and `subnetId` to be set. Supported values: `Enabled` (Default) or `Disabled`. If set to `Disabled`, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker AI training and endpoint services unless your configure a NAT Gateway in your VPC.
        Returns:
        builder
      • directInternetAccess

        public NotebookInstanceState.Builder directInternetAccess​(java.lang.String directInternetAccess)
        Parameters:
        directInternetAccess - Set to `Disabled` to disable internet access to notebook. Requires `securityGroups` and `subnetId` to be set. Supported values: `Enabled` (Default) or `Disabled`. If set to `Disabled`, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker AI training and endpoint services unless your configure a NAT Gateway in your VPC.
        Returns:
        builder
      • instanceMetadataServiceConfiguration

        public NotebookInstanceState.Builder instanceMetadataServiceConfiguration​(@Nullable
                                                                                  com.pulumi.core.Output<NotebookInstanceInstanceMetadataServiceConfigurationArgs> instanceMetadataServiceConfiguration)
        Parameters:
        instanceMetadataServiceConfiguration - Information on the IMDS configuration of the notebook instance. Conflicts with `instanceMetadataServiceConfiguration`. see details below.
        Returns:
        builder
      • instanceType

        public NotebookInstanceState.Builder instanceType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - The name of ML compute instance type.
        Returns:
        builder
      • instanceType

        public NotebookInstanceState.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - The name of ML compute instance type.
        Returns:
        builder
      • kmsKeyId

        public NotebookInstanceState.Builder kmsKeyId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - KMS key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
        Returns:
        builder
      • kmsKeyId

        public NotebookInstanceState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - KMS key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
        Returns:
        builder
      • lifecycleConfigName

        public NotebookInstanceState.Builder lifecycleConfigName​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> lifecycleConfigName)
        Parameters:
        lifecycleConfigName - The name of a lifecycle configuration to associate with the notebook instance.
        Returns:
        builder
      • lifecycleConfigName

        public NotebookInstanceState.Builder lifecycleConfigName​(java.lang.String lifecycleConfigName)
        Parameters:
        lifecycleConfigName - The name of a lifecycle configuration to associate with the notebook instance.
        Returns:
        builder
      • name

        public NotebookInstanceState.Builder name​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the notebook instance (must be unique).
        Returns:
        builder
      • name

        public NotebookInstanceState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the notebook instance (must be unique).
        Returns:
        builder
      • networkInterfaceId

        public NotebookInstanceState.Builder networkInterfaceId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> networkInterfaceId)
        Parameters:
        networkInterfaceId - The network interface ID that Amazon SageMaker AI created at the time of creating the instance. Only available when setting `subnetId`.
        Returns:
        builder
      • networkInterfaceId

        public NotebookInstanceState.Builder networkInterfaceId​(java.lang.String networkInterfaceId)
        Parameters:
        networkInterfaceId - The network interface ID that Amazon SageMaker AI created at the time of creating the instance. Only available when setting `subnetId`.
        Returns:
        builder
      • platformIdentifier

        public NotebookInstanceState.Builder platformIdentifier​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> platformIdentifier)
        Parameters:
        platformIdentifier - The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`(deprecated), `notebook-al2-v1`(deprecated), `notebook-al2-v2`(deprecated), `notebook-al2-v3`, or `notebook-al2023-v1`, depending on which version of Amazon Linux you require. Defaults to `notebook-al2-v3`.
        Returns:
        builder
      • platformIdentifier

        public NotebookInstanceState.Builder platformIdentifier​(java.lang.String platformIdentifier)
        Parameters:
        platformIdentifier - The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`(deprecated), `notebook-al2-v1`(deprecated), `notebook-al2-v2`(deprecated), `notebook-al2-v3`, or `notebook-al2023-v1`, depending on which version of Amazon Linux you require. Defaults to `notebook-al2-v3`.
        Returns:
        builder
      • region

        public NotebookInstanceState.Builder region​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public NotebookInstanceState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleArn

        public NotebookInstanceState.Builder roleArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf.
        Returns:
        builder
      • roleArn

        public NotebookInstanceState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf.
        Returns:
        builder
      • rootAccess

        public NotebookInstanceState.Builder rootAccess​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> rootAccess)
        Parameters:
        rootAccess - Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
        Returns:
        builder
      • rootAccess

        public NotebookInstanceState.Builder rootAccess​(java.lang.String rootAccess)
        Parameters:
        rootAccess - Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceState.Builder securityGroups​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceState.Builder securityGroups​(java.util.List<java.lang.String> securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceState.Builder securityGroups​(java.lang.String... securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • subnetId

        public NotebookInstanceState.Builder subnetId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - The VPC subnet ID.
        Returns:
        builder
      • subnetId

        public NotebookInstanceState.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - The VPC subnet ID.
        Returns:
        builder
      • tags

        public NotebookInstanceState.Builder tags​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public NotebookInstanceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public NotebookInstanceState.Builder tagsAll​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public NotebookInstanceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • url

        public NotebookInstanceState.Builder url​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> url)
        Parameters:
        url - The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
        Returns:
        builder
      • url

        public NotebookInstanceState.Builder url​(java.lang.String url)
        Parameters:
        url - The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
        Returns:
        builder
      • volumeSize

        public NotebookInstanceState.Builder volumeSize​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> volumeSize)
        Parameters:
        volumeSize - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
        Returns:
        builder
      • volumeSize

        public NotebookInstanceState.Builder volumeSize​(java.lang.Integer volumeSize)
        Parameters:
        volumeSize - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
        Returns:
        builder