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 interface
ImageConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
RepositoryAccessMode
repositoryAccessMode()
Set this to one of the following values:String
repositoryAccessModeAsString()
Set this to one of the following values:RepositoryAuthConfig
repositoryAuthConfig()
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ImageConfig.Builder>
serializableBuilderClass()
ImageConfig.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
-
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,
repositoryAccessMode
will 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,
repositoryAccessMode
will 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
Vpc
as the value for theRepositoryAccessMode
field, 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
Vpc
as the value for theRepositoryAccessMode
field, and the private Docker registry where the model image is hosted requires authentication.
-
toBuilder
public ImageConfig.Builder toBuilder()
- Specified by:
toBuilder
in 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:
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
-
-