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 InferenceSpecification

    • Constructor Detail

      • InferenceSpecification

        public InferenceSpecification()
    • Method Detail

      • getContainers

        public List<ModelPackageContainerDefinition> getContainers()

        The Amazon ECR registry path of the Docker image that contains the inference code.

        Returns:
        The Amazon ECR registry path of the Docker image that contains the inference code.
      • setContainers

        public void setContainers(Collection<ModelPackageContainerDefinition> containers)

        The Amazon ECR registry path of the Docker image that contains the inference code.

        Parameters:
        containers - The Amazon ECR registry path of the Docker image that contains the inference code.
      • withContainers

        public InferenceSpecification withContainers(Collection<ModelPackageContainerDefinition> containers)

        The Amazon ECR registry path of the Docker image that contains the inference code.

        Parameters:
        containers - The Amazon ECR registry path of the Docker image that contains the inference code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSupportedTransformInstanceTypes

        public List<String> getSupportedTransformInstanceTypes()

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        See Also:
        TransformInstanceType
      • setSupportedTransformInstanceTypes

        public void setSupportedTransformInstanceTypes(Collection<String> supportedTransformInstanceTypes)

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedTransformInstanceTypes - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        See Also:
        TransformInstanceType
      • withSupportedTransformInstanceTypes

        public InferenceSpecification withSupportedTransformInstanceTypes(String... supportedTransformInstanceTypes)

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

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

        Parameters:
        supportedTransformInstanceTypes - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TransformInstanceType
      • withSupportedTransformInstanceTypes

        public InferenceSpecification withSupportedTransformInstanceTypes(Collection<String> supportedTransformInstanceTypes)

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedTransformInstanceTypes - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TransformInstanceType
      • withSupportedTransformInstanceTypes

        public InferenceSpecification withSupportedTransformInstanceTypes(TransformInstanceType... supportedTransformInstanceTypes)

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedTransformInstanceTypes - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TransformInstanceType
      • getSupportedRealtimeInferenceInstanceTypes

        public List<String> getSupportedRealtimeInferenceInstanceTypes()

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        See Also:
        ProductionVariantInstanceType
      • setSupportedRealtimeInferenceInstanceTypes

        public void setSupportedRealtimeInferenceInstanceTypes(Collection<String> supportedRealtimeInferenceInstanceTypes)

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedRealtimeInferenceInstanceTypes - A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        See Also:
        ProductionVariantInstanceType
      • withSupportedRealtimeInferenceInstanceTypes

        public InferenceSpecification withSupportedRealtimeInferenceInstanceTypes(String... supportedRealtimeInferenceInstanceTypes)

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

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

        Parameters:
        supportedRealtimeInferenceInstanceTypes - A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProductionVariantInstanceType
      • withSupportedRealtimeInferenceInstanceTypes

        public InferenceSpecification withSupportedRealtimeInferenceInstanceTypes(Collection<String> supportedRealtimeInferenceInstanceTypes)

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedRealtimeInferenceInstanceTypes - A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProductionVariantInstanceType
      • withSupportedRealtimeInferenceInstanceTypes

        public InferenceSpecification withSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType... supportedRealtimeInferenceInstanceTypes)

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Parameters:
        supportedRealtimeInferenceInstanceTypes - A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProductionVariantInstanceType
      • getSupportedContentTypes

        public List<String> getSupportedContentTypes()

        The supported MIME types for the input data.

        Returns:
        The supported MIME types for the input data.
      • setSupportedContentTypes

        public void setSupportedContentTypes(Collection<String> supportedContentTypes)

        The supported MIME types for the input data.

        Parameters:
        supportedContentTypes - The supported MIME types for the input data.
      • withSupportedContentTypes

        public InferenceSpecification withSupportedContentTypes(Collection<String> supportedContentTypes)

        The supported MIME types for the input data.

        Parameters:
        supportedContentTypes - The supported MIME types for the input data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSupportedResponseMIMETypes

        public List<String> getSupportedResponseMIMETypes()

        The supported MIME types for the output data.

        Returns:
        The supported MIME types for the output data.
      • setSupportedResponseMIMETypes

        public void setSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)

        The supported MIME types for the output data.

        Parameters:
        supportedResponseMIMETypes - The supported MIME types for the output data.
      • withSupportedResponseMIMETypes

        public InferenceSpecification withSupportedResponseMIMETypes(Collection<String> supportedResponseMIMETypes)

        The supported MIME types for the output data.

        Parameters:
        supportedResponseMIMETypes - The supported MIME types for the output data.
        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 によって変換されたページ (->オリジナル) /