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 ResourceSpec

    • Constructor Detail

      • ResourceSpec

        public ResourceSpec()
    • Method Detail

      • setSageMakerImageArn

        public void setSageMakerImageArn(String sageMakerImageArn)

        The ARN of the SageMaker image that the image version belongs to.

        Parameters:
        sageMakerImageArn - The ARN of the SageMaker image that the image version belongs to.
      • getSageMakerImageArn

        public String getSageMakerImageArn()

        The ARN of the SageMaker image that the image version belongs to.

        Returns:
        The ARN of the SageMaker image that the image version belongs to.
      • withSageMakerImageArn

        public ResourceSpec withSageMakerImageArn(String sageMakerImageArn)

        The ARN of the SageMaker image that the image version belongs to.

        Parameters:
        sageMakerImageArn - The ARN of the SageMaker image that the image version belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSageMakerImageVersionArn

        public void setSageMakerImageVersionArn(String sageMakerImageVersionArn)

        The ARN of the image version created on the instance.

        Parameters:
        sageMakerImageVersionArn - The ARN of the image version created on the instance.
      • getSageMakerImageVersionArn

        public String getSageMakerImageVersionArn()

        The ARN of the image version created on the instance.

        Returns:
        The ARN of the image version created on the instance.
      • withSageMakerImageVersionArn

        public ResourceSpec withSageMakerImageVersionArn(String sageMakerImageVersionArn)

        The ARN of the image version created on the instance.

        Parameters:
        sageMakerImageVersionArn - The ARN of the image version created on the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSageMakerImageVersionAlias

        public void setSageMakerImageVersionAlias(String sageMakerImageVersionAlias)

        The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

        Parameters:
        sageMakerImageVersionAlias - The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
      • getSageMakerImageVersionAlias

        public String getSageMakerImageVersionAlias()

        The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

        Returns:
        The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
      • withSageMakerImageVersionAlias

        public ResourceSpec withSageMakerImageVersionAlias(String sageMakerImageVersionAlias)

        The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

        Parameters:
        sageMakerImageVersionAlias - The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceType

        public void setInstanceType(String instanceType)

        The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        Parameters:
        instanceType - The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        See Also:
        AppInstanceType
      • getInstanceType

        public String getInstanceType()

        The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        Returns:
        The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        See Also:
        AppInstanceType
      • withInstanceType

        public ResourceSpec withInstanceType(String instanceType)

        The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        Parameters:
        instanceType - The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

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

        public ResourceSpec withInstanceType(AppInstanceType instanceType)

        The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

        Parameters:
        instanceType - The instance type that the image version runs on.

        JupyterServer apps only support the system value.

        For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

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

        public void setLifecycleConfigArn(String lifecycleConfigArn)

        The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        Parameters:
        lifecycleConfigArn - The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
      • getLifecycleConfigArn

        public String getLifecycleConfigArn()

        The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        Returns:
        The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
      • withLifecycleConfigArn

        public ResourceSpec withLifecycleConfigArn(String lifecycleConfigArn)

        The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        Parameters:
        lifecycleConfigArn - The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
        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 によって変換されたページ (->オリジナル) /