@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:
|
RepositoryAuthConfig |
getRepositoryAuthConfig()
(Optional) Specifies an authentication configuration for the private docker registry where your model image is
hosted.
|
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:
|
void |
setRepositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig)
(Optional) Specifies an authentication configuration for the private docker registry where your model image is
hosted.
|
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:
|
ImageConfig |
withRepositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig)
(Optional) Specifies an authentication configuration for the private docker registry where your model image is
hosted.
|
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.
RepositoryAccessModepublic 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.
RepositoryAccessModepublic 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.
RepositoryAccessModepublic 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.
RepositoryAccessModepublic void setRepositoryAuthConfig(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.
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.public RepositoryAuthConfig getRepositoryAuthConfig()
(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 withRepositoryAuthConfig(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.
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.public String toString()
toString in class ObjectObject.toString()public ImageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.