Interface SageMakerEndpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SageMakerEndpoint.Builder,SageMakerEndpoint>,SdkBuilder<SageMakerEndpoint.Builder,SageMakerEndpoint>,SdkPojo
- Enclosing class:
- SageMakerEndpoint
@Mutable @NotThreadSafe public static interface SageMakerEndpoint.Builder extends SdkPojo, CopyableBuilder<SageMakerEndpoint.Builder,SageMakerEndpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SageMakerEndpoint.BuilderexecutionRole(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.SageMakerEndpoint.BuilderinitialInstanceCount(Integer initialInstanceCount)The number of Amazon EC2 compute instances to deploy for initial endpoint creation.SageMakerEndpoint.BuilderinstanceType(String instanceType)The Amazon EC2 compute instance type to deploy for hosting the model.SageMakerEndpoint.BuilderkmsEncryptionKey(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.default SageMakerEndpoint.Buildervpc(Consumer<VpcConfig.Builder> vpc)The VPC configuration for the endpoint.SageMakerEndpoint.Buildervpc(VpcConfig vpc)The VPC configuration for the endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
SageMakerEndpoint.Builder vpc(VpcConfig 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
default SageMakerEndpoint.Builder vpc(Consumer<VpcConfig.Builder> vpc)
The VPC configuration for the endpoint.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpc(VpcConfig).- Parameters:
vpc- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpc(VpcConfig)
-
-