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
Vpc
as the value for theRepositoryAccessMode
field of theImageConfig
object that you passed to a call toCreateModel
and 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 interface
RepositoryAuthConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositoryAuthConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends RepositoryAuthConfig.Builder>
serializableBuilderClass()
RepositoryAuthConfig.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-