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 Model

    • Constructor Detail

      • Model

        public Model()
    • Method Detail

      • setModelName

        public void setModelName(String modelName)

        The name of the model.

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

        public String getModelName()

        The name of the model.

        Returns:
        The name of the model.
      • withModelName

        public Model withModelName(String modelName)

        The name of the model.

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

        public void setPrimaryContainer(ContainerDefinition primaryContainer)
        Parameters:
        primaryContainer -
      • withPrimaryContainer

        public Model withPrimaryContainer(ContainerDefinition primaryContainer)
        Parameters:
        primaryContainer -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getContainers

        public List<ContainerDefinition> getContainers()

        The containers in the inference pipeline.

        Returns:
        The containers in the inference pipeline.
      • setContainers

        public void setContainers(Collection<ContainerDefinition> containers)

        The containers in the inference pipeline.

        Parameters:
        containers - The containers in the inference pipeline.
      • withContainers

        public Model withContainers(Collection<ContainerDefinition> containers)

        The containers in the inference pipeline.

        Parameters:
        containers - The containers in the inference pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInferenceExecutionConfig

        public void setInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
        Parameters:
        inferenceExecutionConfig -
      • withInferenceExecutionConfig

        public Model withInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
        Parameters:
        inferenceExecutionConfig -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExecutionRoleArn

        public void setExecutionRoleArn(String executionRoleArn)

        The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

        Parameters:
        executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
      • getExecutionRoleArn

        public String getExecutionRoleArn()

        The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

        Returns:
        The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
      • withExecutionRoleArn

        public Model withExecutionRoleArn(String executionRoleArn)

        The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

        Parameters:
        executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcConfig

        public void setVpcConfig(VpcConfig vpcConfig)
        Parameters:
        vpcConfig -
      • getVpcConfig

        public VpcConfig getVpcConfig()
        Returns:
      • withVpcConfig

        public Model withVpcConfig(VpcConfig vpcConfig)
        Parameters:
        vpcConfig -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreationTime

        public void setCreationTime(Date creationTime)

        A timestamp that indicates when the model was created.

        Parameters:
        creationTime - A timestamp that indicates when the model was created.
      • getCreationTime

        public Date getCreationTime()

        A timestamp that indicates when the model was created.

        Returns:
        A timestamp that indicates when the model was created.
      • withCreationTime

        public Model withCreationTime(Date creationTime)

        A timestamp that indicates when the model was created.

        Parameters:
        creationTime - A timestamp that indicates when the model was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelArn

        public void setModelArn(String modelArn)

        The Amazon Resource Name (ARN) of the model.

        Parameters:
        modelArn - The Amazon Resource Name (ARN) of the model.
      • getModelArn

        public String getModelArn()

        The Amazon Resource Name (ARN) of the model.

        Returns:
        The Amazon Resource Name (ARN) of the model.
      • withModelArn

        public Model withModelArn(String modelArn)

        The Amazon Resource Name (ARN) of the model.

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

        public void setEnableNetworkIsolation(Boolean enableNetworkIsolation)

        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

        Parameters:
        enableNetworkIsolation - Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
      • getEnableNetworkIsolation

        public Boolean getEnableNetworkIsolation()

        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

        Returns:
        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
      • withEnableNetworkIsolation

        public Model withEnableNetworkIsolation(Boolean enableNetworkIsolation)

        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

        Parameters:
        enableNetworkIsolation - Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnableNetworkIsolation

        public Boolean isEnableNetworkIsolation()

        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

        Returns:
        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
      • withTags

        public Model withTags(Collection<Tag> tags)

        A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

        Parameters:
        tags - A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeploymentRecommendation

        public void setDeploymentRecommendation(DeploymentRecommendation deploymentRecommendation)

        A set of recommended deployment configurations for the model.

        Parameters:
        deploymentRecommendation - A set of recommended deployment configurations for the model.
      • getDeploymentRecommendation

        public DeploymentRecommendation getDeploymentRecommendation()

        A set of recommended deployment configurations for the model.

        Returns:
        A set of recommended deployment configurations for the model.
      • withDeploymentRecommendation

        public Model withDeploymentRecommendation(DeploymentRecommendation deploymentRecommendation)

        A set of recommended deployment configurations for the model.

        Parameters:
        deploymentRecommendation - A set of recommended deployment configurations for the model.
        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 によって変換されたページ (->オリジナル) /