Class ImageConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ImageConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageConfig.Builder,ImageConfig>
@Generated("software.amazon.awssdk:codegen") public final class ImageConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageConfig.Builder,ImageConfig>
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RepositoryAccessModerepositoryAccessMode()Set this to one of the following values:StringrepositoryAccessModeAsString()Set this to one of the following values:RepositoryAuthConfigrepositoryAuthConfig()(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.List<SdkField<?>>sdkFields()static Class<? extends ImageConfig.Builder>serializableBuilderClass()ImageConfig.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
-
repositoryAccessMode
public final RepositoryAccessMode repositoryAccessMode()
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.
If the service returns an enum value that is not available in the current SDK version,
repositoryAccessModewill returnRepositoryAccessMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepositoryAccessModeAsString().- Returns:
- 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.
-
- See Also:
RepositoryAccessMode
-
-
repositoryAccessModeAsString
public final String repositoryAccessModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
repositoryAccessModewill returnRepositoryAccessMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrepositoryAccessModeAsString().- Returns:
- 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.
-
- See Also:
RepositoryAccessMode
-
-
repositoryAuthConfig
public final RepositoryAuthConfig repositoryAuthConfig()
(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
Vpcas the value for theRepositoryAccessModefield, and the private Docker registry where the model image is hosted requires authentication.- Returns:
- (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
Vpcas the value for theRepositoryAccessModefield, and the private Docker registry where the model image is hosted requires authentication.
-
toBuilder
public ImageConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageConfig.Builder,ImageConfig>
-
builder
public static ImageConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageConfig.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.
-
-