Struct aws_sdk_sagemaker::model::image_config::Builder
source ·
[−]#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ImageConfig
Implementations
Set this to one of the following values:
-
Platform
- The model image is hosted in Amazon ECR. -
Vpc
- The model image is hosted in a private Docker registry in your VPC.
Set this to one of the following values:
-
Platform
- The model image is hosted in Amazon ECR. -
Vpc
- The model image is hosted in a private Docker registry in your VPC.
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc
as the value for the RepositoryAccessMode
field, and the private Docker registry where the model image is hosted requires authentication.
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc
as the value for the RepositoryAccessMode
field, and the private Docker registry where the model image is hosted requires authentication.
Consumes the builder and constructs a ImageConfig
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more