Class RepositoryAuthConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.RepositoryAuthConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RepositoryAuthConfig.Builder,RepositoryAuthConfig>
@Generated("software.amazon.awssdk:codegen") public final class RepositoryAuthConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryAuthConfig.Builder,RepositoryAuthConfig>
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
Vpcas the value for theRepositoryAccessModefield of theImageConfigobject that you passed to a call toCreateModeland the private Docker registry where the model image is hosted requires authentication.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepositoryAuthConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositoryAuthConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrepositoryCredentialsProviderArn()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.List<SdkField<?>>sdkFields()static Class<? extends RepositoryAuthConfig.Builder>serializableBuilderClass()RepositoryAuthConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryCredentialsProviderArn
public final String repositoryCredentialsProviderArn()
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.
- Returns:
- 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.
-
toBuilder
public RepositoryAuthConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepositoryAuthConfig.Builder,RepositoryAuthConfig>
-
builder
public static RepositoryAuthConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepositoryAuthConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-