JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class RecommendationJobInputConfig

    • Constructor Detail

      • RecommendationJobInputConfig

        public RecommendationJobInputConfig()
    • Method Detail

      • setModelPackageVersionArn

        public void setModelPackageVersionArn(String modelPackageVersionArn)

        The Amazon Resource Name (ARN) of a versioned model package.

        Parameters:
        modelPackageVersionArn - The Amazon Resource Name (ARN) of a versioned model package.
      • getModelPackageVersionArn

        public String getModelPackageVersionArn()

        The Amazon Resource Name (ARN) of a versioned model package.

        Returns:
        The Amazon Resource Name (ARN) of a versioned model package.
      • withModelPackageVersionArn

        public RecommendationJobInputConfig withModelPackageVersionArn(String modelPackageVersionArn)

        The Amazon Resource Name (ARN) of a versioned model package.

        Parameters:
        modelPackageVersionArn - The Amazon Resource Name (ARN) of a versioned model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelName

        public void setModelName(String modelName)

        The name of the created model.

        Parameters:
        modelName - The name of the created model.
      • getModelName

        public String getModelName()

        The name of the created model.

        Returns:
        The name of the created model.
      • withModelName

        public RecommendationJobInputConfig withModelName(String modelName)

        The name of the created model.

        Parameters:
        modelName - The name of the created model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJobDurationInSeconds

        public void setJobDurationInSeconds(Integer jobDurationInSeconds)

        Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.

        Parameters:
        jobDurationInSeconds - Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.
      • getJobDurationInSeconds

        public Integer getJobDurationInSeconds()

        Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.

        Returns:
        Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.
      • withJobDurationInSeconds

        public RecommendationJobInputConfig withJobDurationInSeconds(Integer jobDurationInSeconds)

        Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.

        Parameters:
        jobDurationInSeconds - Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrafficPattern

        public void setTrafficPattern(TrafficPattern trafficPattern)

        Specifies the traffic pattern of the job.

        Parameters:
        trafficPattern - Specifies the traffic pattern of the job.
      • getTrafficPattern

        public TrafficPattern getTrafficPattern()

        Specifies the traffic pattern of the job.

        Returns:
        Specifies the traffic pattern of the job.
      • withTrafficPattern

        public RecommendationJobInputConfig withTrafficPattern(TrafficPattern trafficPattern)

        Specifies the traffic pattern of the job.

        Parameters:
        trafficPattern - Specifies the traffic pattern of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceLimit

        public void setResourceLimit(RecommendationJobResourceLimit resourceLimit)

        Defines the resource limit of the job.

        Parameters:
        resourceLimit - Defines the resource limit of the job.
      • getResourceLimit

        public RecommendationJobResourceLimit getResourceLimit()

        Defines the resource limit of the job.

        Returns:
        Defines the resource limit of the job.
      • withResourceLimit

        public RecommendationJobInputConfig withResourceLimit(RecommendationJobResourceLimit resourceLimit)

        Defines the resource limit of the job.

        Parameters:
        resourceLimit - Defines the resource limit of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEndpointConfigurations

        public List<EndpointInputConfiguration> getEndpointConfigurations()

        Specifies the endpoint configuration to use for a job.

        Returns:
        Specifies the endpoint configuration to use for a job.
      • setEndpointConfigurations

        public void setEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)

        Specifies the endpoint configuration to use for a job.

        Parameters:
        endpointConfigurations - Specifies the endpoint configuration to use for a job.
      • withEndpointConfigurations

        public RecommendationJobInputConfig withEndpointConfigurations(Collection<EndpointInputConfiguration> endpointConfigurations)

        Specifies the endpoint configuration to use for a job.

        Parameters:
        endpointConfigurations - Specifies the endpoint configuration to use for a job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVolumeKmsKeyId

        public void setVolumeKmsKeyId(String volumeKmsKeyId)

        The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

        Parameters:
        volumeKmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

      • getVolumeKmsKeyId

        public String getVolumeKmsKeyId()

        The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

        Returns:
        The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

      • withVolumeKmsKeyId

        public RecommendationJobInputConfig withVolumeKmsKeyId(String volumeKmsKeyId)

        The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

        Parameters:
        volumeKmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

        The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

        The KmsKeyId can be any of the following formats:

        • // KMS Key ID

          "1234abcd-12ab-34cd-56ef-1234567890ab"

        • // Amazon Resource Name (ARN) of a KMS Key

          "arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"

        • // KMS Key Alias

          "alias/ExampleAlias"

        • // Amazon Resource Name (ARN) of a KMS Key Alias

          "arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"

        For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setContainerConfig

        public void setContainerConfig(RecommendationJobContainerConfig containerConfig)

        Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

        Parameters:
        containerConfig - Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.
      • getContainerConfig

        public RecommendationJobContainerConfig getContainerConfig()

        Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

        Returns:
        Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.
      • withContainerConfig

        public RecommendationJobInputConfig withContainerConfig(RecommendationJobContainerConfig containerConfig)

        Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

        Parameters:
        containerConfig - Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEndpoints

        public List<EndpointInfo> getEndpoints()

        Existing customer endpoints on which to run an Inference Recommender job.

        Returns:
        Existing customer endpoints on which to run an Inference Recommender job.
      • setEndpoints

        public void setEndpoints(Collection<EndpointInfo> endpoints)

        Existing customer endpoints on which to run an Inference Recommender job.

        Parameters:
        endpoints - Existing customer endpoints on which to run an Inference Recommender job.
      • withEndpoints

        public RecommendationJobInputConfig withEndpoints(EndpointInfo... endpoints)

        Existing customer endpoints on which to run an Inference Recommender job.

        NOTE: This method appends the values to the existing list (if any). Use setEndpoints(java.util.Collection) or withEndpoints(java.util.Collection) if you want to override the existing values.

        Parameters:
        endpoints - Existing customer endpoints on which to run an Inference Recommender job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEndpoints

        public RecommendationJobInputConfig withEndpoints(Collection<EndpointInfo> endpoints)

        Existing customer endpoints on which to run an Inference Recommender job.

        Parameters:
        endpoints - Existing customer endpoints on which to run an Inference Recommender job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcConfig

        public void setVpcConfig(RecommendationJobVpcConfig vpcConfig)

        Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

        Parameters:
        vpcConfig - Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
      • getVpcConfig

        public RecommendationJobVpcConfig getVpcConfig()

        Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

        Returns:
        Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
      • withVpcConfig

        public RecommendationJobInputConfig withVpcConfig(RecommendationJobVpcConfig vpcConfig)

        Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

        Parameters:
        vpcConfig - Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /