Struct aws_sdk_sagemaker::model::repository_auth_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RepositoryAuthConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn repository_credentials_provider_arn(
self,
input: impl Into<String>
) -> Self
pub fn repository_credentials_provider_arn(
self,
input: impl Into<String>
) -> Self
The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an Amazon Web Services Lambda function, see Create a Lambda function with the console in the Amazon Web Services Lambda Developer Guide.
sourcepub fn set_repository_credentials_provider_arn(
self,
input: Option<String>
) -> Self
pub fn set_repository_credentials_provider_arn(
self,
input: Option<String>
) -> Self
The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an Amazon Web Services Lambda function, see Create a Lambda function with the console in the Amazon Web Services Lambda Developer Guide.
sourcepub fn build(self) -> RepositoryAuthConfig
pub fn build(self) -> RepositoryAuthConfig
Consumes the builder and constructs a RepositoryAuthConfig
.