@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:
|
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 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 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 ImageConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ImageConfig.Builder,ImageConfig>
public static ImageConfig.Builder builder()
public static Class<? extends ImageConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.