@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrainingImageConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration to use an image from a private Docker registry for a training job.
Constructor and Description |
---|
TrainingImageConfig() |
Modifier and Type | Method and Description |
---|---|
TrainingImageConfig |
clone() |
boolean |
equals(Object obj) |
String |
getTrainingRepositoryAccessMode()
The method that your training job will use to gain access to the images in your private Docker registry.
|
TrainingRepositoryAuthConfig |
getTrainingRepositoryAuthConfig()
An object containing authentication information for a private Docker registry containing your training images.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTrainingRepositoryAccessMode(String trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry.
|
void |
setTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig trainingRepositoryAuthConfig)
An object containing authentication information for a private Docker registry containing your training images.
|
String |
toString()
Returns a string representation of this object.
|
TrainingImageConfig |
withTrainingRepositoryAccessMode(String trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry.
|
TrainingImageConfig |
withTrainingRepositoryAccessMode(TrainingRepositoryAccessMode trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry.
|
TrainingImageConfig |
withTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig trainingRepositoryAuthConfig)
An object containing authentication information for a private Docker registry containing your training images.
|
public void setTrainingRepositoryAccessMode(String trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry. For
access to an image in a private Docker registry, set to Vpc
.
trainingRepositoryAccessMode
- The method that your training job will use to gain access to the images in your private Docker registry.
For access to an image in a private Docker registry, set to Vpc
.TrainingRepositoryAccessMode
public String getTrainingRepositoryAccessMode()
The method that your training job will use to gain access to the images in your private Docker registry. For
access to an image in a private Docker registry, set to Vpc
.
Vpc
.TrainingRepositoryAccessMode
public TrainingImageConfig withTrainingRepositoryAccessMode(String trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry. For
access to an image in a private Docker registry, set to Vpc
.
trainingRepositoryAccessMode
- The method that your training job will use to gain access to the images in your private Docker registry.
For access to an image in a private Docker registry, set to Vpc
.TrainingRepositoryAccessMode
public TrainingImageConfig withTrainingRepositoryAccessMode(TrainingRepositoryAccessMode trainingRepositoryAccessMode)
The method that your training job will use to gain access to the images in your private Docker registry. For
access to an image in a private Docker registry, set to Vpc
.
trainingRepositoryAccessMode
- The method that your training job will use to gain access to the images in your private Docker registry.
For access to an image in a private Docker registry, set to Vpc
.TrainingRepositoryAccessMode
public void setTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig trainingRepositoryAuthConfig)
An object containing authentication information for a private Docker registry containing your training images.
trainingRepositoryAuthConfig
- An object containing authentication information for a private Docker registry containing your training
images.public TrainingRepositoryAuthConfig getTrainingRepositoryAuthConfig()
An object containing authentication information for a private Docker registry containing your training images.
public TrainingImageConfig withTrainingRepositoryAuthConfig(TrainingRepositoryAuthConfig trainingRepositoryAuthConfig)
An object containing authentication information for a private Docker registry containing your training images.
trainingRepositoryAuthConfig
- An object containing authentication information for a private Docker registry containing your training
images.public String toString()
toString
in class Object
Object.toString()
public TrainingImageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.