Interface ResourceSpec.Builder

    • Method Detail

      • sageMakerImageArn

        ResourceSpec.Builder sageMakerImageArn​(String sageMakerImageArn)

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

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

        ResourceSpec.Builder sageMakerImageVersionArn​(String sageMakerImageVersionArn)

        The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

        Parameters:
        sageMakerImageVersionArn - The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sageMakerImageVersionAlias

        ResourceSpec.Builder sageMakerImageVersionAlias​(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.
      • instanceType

        ResourceSpec.Builder instanceType​(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, AppInstanceType
      • instanceType

        ResourceSpec.Builder instanceType​(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, AppInstanceType
      • lifecycleConfigArn

        ResourceSpec.Builder lifecycleConfigArn​(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.