Interface SageMakerEndpoint.Builder

  • Method Details

    • initialInstanceCount

      SageMakerEndpoint.Builder initialInstanceCount(Integer initialInstanceCount)

      The number of Amazon EC2 compute instances to deploy for initial endpoint creation.

      Parameters:
      initialInstanceCount - The number of Amazon EC2 compute instances to deploy for initial endpoint creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      SageMakerEndpoint.Builder instanceType(String instanceType)

      The Amazon EC2 compute instance type to deploy for hosting the model.

      Parameters:
      instanceType - The Amazon EC2 compute instance type to deploy for hosting the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRole

      SageMakerEndpoint.Builder executionRole(String executionRole)

      The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on Amazon EC2 compute instances or for batch transform jobs.

      Parameters:
      executionRole - The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on Amazon EC2 compute instances or for batch transform jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsEncryptionKey

      SageMakerEndpoint.Builder kmsEncryptionKey(String kmsEncryptionKey)

      The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the Amazon EC2 compute instance that hosts the endpoint.

      Parameters:
      kmsEncryptionKey - The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the Amazon EC2 compute instance that hosts the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpc

      The VPC configuration for the endpoint.

      Parameters:
      vpc - The VPC configuration for the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpc

      The VPC configuration for the endpoint.

      This is a convenience method that creates an instance of the VpcConfig.Builder avoiding the need to create one manually via VpcConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpc(VpcConfig).

      Parameters:
      vpc - a consumer that will call methods on VpcConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: