@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
Constructor and Description |
---|
ImageConfig() |
Modifier and Type | Method and Description |
---|---|
ImageConfig |
clone() |
boolean |
equals(Object obj) |
String |
getRepositoryAccessMode()
Set this to one of the following values:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRepositoryAccessMode(String repositoryAccessMode)
Set this to one of the following values:
|
String |
toString()
Returns a string representation of this object.
|
ImageConfig |
withRepositoryAccessMode(RepositoryAccessMode repositoryAccessMode)
Set this to one of the following values:
|
ImageConfig |
withRepositoryAccessMode(String repositoryAccessMode)
Set this to one of the following values:
|
public void setRepositoryAccessMode(String 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.
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.
RepositoryAccessMode
public String getRepositoryAccessMode()
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.
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 withRepositoryAccessMode(String 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.
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.
RepositoryAccessMode
public ImageConfig withRepositoryAccessMode(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.
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.
RepositoryAccessMode
public String toString()
toString
in class Object
Object.toString()
public ImageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.