@Generated(value="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).
Modifier and Type | Class and Description |
---|---|
static interface |
ImageConfig.Builder |
Modifier and Type | Method and 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageConfig.Builder> |
serializableBuilderClass() |
ImageConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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 return RepositoryAccessMode.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from repositoryAccessModeAsString()
.
Platform
- The model image is hosted in Amazon ECR.
Vpc
- The model image is hosted in a private Docker registry in your VPC.
RepositoryAccessMode
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 return RepositoryAccessMode.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from repositoryAccessModeAsString()
.
Platform
- The model image is hosted in Amazon ECR.
Vpc
- The model image is hosted in a private Docker registry in your VPC.
RepositoryAccessMode
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 the
RepositoryAccessMode
field, and the private Docker registry where the model image is hosted requires
authentication.
Vpc
as the value
for the RepositoryAccessMode
field, and the private Docker registry where the model image is
hosted requires authentication.public ImageConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ImageConfig.Builder,ImageConfig>
public static ImageConfig.Builder builder()
public static Class<? extends ImageConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.