@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAliases()
A list of aliases created with the image version.
|
String |
getBaseImage()
The registry path of the container image to use as the starting point for this version.
|
String |
getClientToken()
A unique ID.
|
Boolean |
getHorovod()
Indicates Horovod compatibility.
|
String |
getImageName()
The
ImageName of the Image to create a version of. |
String |
getJobType()
Indicates SageMaker job type compatibility.
|
String |
getMLFramework()
The machine learning framework vended in the image version.
|
String |
getProcessor()
Indicates CPU or GPU compatibility.
|
String |
getProgrammingLang()
The supported programming language and its version.
|
String |
getReleaseNotes()
The maintainer description of the image version.
|
String |
getVendorGuidance()
The stability of the image version, specified by the maintainer.
|
int |
hashCode() |
Boolean |
isHorovod()
Indicates Horovod compatibility.
|
void |
setAliases(Collection<String> aliases)
A list of aliases created with the image version.
|
void |
setBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version.
|
void |
setClientToken(String clientToken)
A unique ID.
|
void |
setHorovod(Boolean horovod)
Indicates Horovod compatibility.
|
void |
setImageName(String imageName)
The
ImageName of the Image to create a version of. |
void |
setJobType(String jobType)
Indicates SageMaker job type compatibility.
|
void |
setMLFramework(String mLFramework)
The machine learning framework vended in the image version.
|
void |
setProcessor(String processor)
Indicates CPU or GPU compatibility.
|
void |
setProgrammingLang(String programmingLang)
The supported programming language and its version.
|
void |
setReleaseNotes(String releaseNotes)
The maintainer description of the image version.
|
void |
setVendorGuidance(String vendorGuidance)
The stability of the image version, specified by the maintainer.
|
String |
toString()
Returns a string representation of this object.
|
CreateImageVersionRequest |
withAliases(Collection<String> aliases)
A list of aliases created with the image version.
|
CreateImageVersionRequest |
withAliases(String... aliases)
A list of aliases created with the image version.
|
CreateImageVersionRequest |
withBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version.
|
CreateImageVersionRequest |
withClientToken(String clientToken)
A unique ID.
|
CreateImageVersionRequest |
withHorovod(Boolean horovod)
Indicates Horovod compatibility.
|
CreateImageVersionRequest |
withImageName(String imageName)
The
ImageName of the Image to create a version of. |
CreateImageVersionRequest |
withJobType(JobType jobType)
Indicates SageMaker job type compatibility.
|
CreateImageVersionRequest |
withJobType(String jobType)
Indicates SageMaker job type compatibility.
|
CreateImageVersionRequest |
withMLFramework(String mLFramework)
The machine learning framework vended in the image version.
|
CreateImageVersionRequest |
withProcessor(Processor processor)
Indicates CPU or GPU compatibility.
|
CreateImageVersionRequest |
withProcessor(String processor)
Indicates CPU or GPU compatibility.
|
CreateImageVersionRequest |
withProgrammingLang(String programmingLang)
The supported programming language and its version.
|
CreateImageVersionRequest |
withReleaseNotes(String releaseNotes)
The maintainer description of the image version.
|
CreateImageVersionRequest |
withVendorGuidance(String vendorGuidance)
The stability of the image version, specified by the maintainer.
|
CreateImageVersionRequest |
withVendorGuidance(VendorGuidance vendorGuidance)
The stability of the image version, specified by the maintainer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version. The path is an Amazon ECR URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
baseImage
- The registry path of the container image to use as the starting point for this version. The path is an
Amazon ECR URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public String getBaseImage()
The registry path of the container image to use as the starting point for this version. The path is an Amazon ECR URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public CreateImageVersionRequest withBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version. The path is an Amazon ECR URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
baseImage
- The registry path of the container image to use as the starting point for this version. The path is an
Amazon ECR URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public void setClientToken(String clientToken)
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
clientToken
- A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK
for Python (Boto3), add a unique value to the call.public String getClientToken()
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
public CreateImageVersionRequest withClientToken(String clientToken)
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
clientToken
- A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK
for Python (Boto3), add a unique value to the call.public void setImageName(String imageName)
The ImageName
of the Image
to create a version of.
imageName
- The ImageName
of the Image
to create a version of.public String getImageName()
The ImageName
of the Image
to create a version of.
ImageName
of the Image
to create a version of.public CreateImageVersionRequest withImageName(String imageName)
The ImageName
of the Image
to create a version of.
imageName
- The ImageName
of the Image
to create a version of.public List<String> getAliases()
A list of aliases created with the image version.
public void setAliases(Collection<String> aliases)
A list of aliases created with the image version.
aliases
- A list of aliases created with the image version.public CreateImageVersionRequest withAliases(String... aliases)
A list of aliases created with the image version.
NOTE: This method appends the values to the existing list (if any). Use
setAliases(java.util.Collection)
or withAliases(java.util.Collection)
if you want to override
the existing values.
aliases
- A list of aliases created with the image version.public CreateImageVersionRequest withAliases(Collection<String> aliases)
A list of aliases created with the image version.
aliases
- A list of aliases created with the image version.public void setVendorGuidance(String vendorGuidance)
The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set to be
archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are no
longer actively supported.
vendorGuidance
- The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set
to be archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are
no longer actively supported.
VendorGuidance
public String getVendorGuidance()
The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set to be
archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are no
longer actively supported.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set
to be archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are
no longer actively supported.
VendorGuidance
public CreateImageVersionRequest withVendorGuidance(String vendorGuidance)
The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set to be
archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are no
longer actively supported.
vendorGuidance
- The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set
to be archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are
no longer actively supported.
VendorGuidance
public CreateImageVersionRequest withVendorGuidance(VendorGuidance vendorGuidance)
The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set to be
archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are no
longer actively supported.
vendorGuidance
- The stability of the image version, specified by the maintainer.
NOT_PROVIDED
: The maintainers did not provide a status for image version stability.
STABLE
: The image version is stable.
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set
to be archived are automatically archived after three months.
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are
no longer actively supported.
VendorGuidance
public void setJobType(String jobType)
Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
jobType
- Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
JobType
public String getJobType()
Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
JobType
public CreateImageVersionRequest withJobType(String jobType)
Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
jobType
- Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
JobType
public CreateImageVersionRequest withJobType(JobType jobType)
Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
jobType
- Indicates SageMaker job type compatibility.
TRAINING
: The image version is compatible with SageMaker training jobs.
INFERENCE
: The image version is compatible with SageMaker inference jobs.
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
JobType
public void setMLFramework(String mLFramework)
The machine learning framework vended in the image version.
mLFramework
- The machine learning framework vended in the image version.public String getMLFramework()
The machine learning framework vended in the image version.
public CreateImageVersionRequest withMLFramework(String mLFramework)
The machine learning framework vended in the image version.
mLFramework
- The machine learning framework vended in the image version.public void setProgrammingLang(String programmingLang)
The supported programming language and its version.
programmingLang
- The supported programming language and its version.public String getProgrammingLang()
The supported programming language and its version.
public CreateImageVersionRequest withProgrammingLang(String programmingLang)
The supported programming language and its version.
programmingLang
- The supported programming language and its version.public void setProcessor(String processor)
Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
processor
- Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
Processor
public String getProcessor()
Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
Processor
public CreateImageVersionRequest withProcessor(String processor)
Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
processor
- Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
Processor
public CreateImageVersionRequest withProcessor(Processor processor)
Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
processor
- Indicates CPU or GPU compatibility.
CPU
: The image version is compatible with CPU.
GPU
: The image version is compatible with GPU.
Processor
public void setHorovod(Boolean horovod)
Indicates Horovod compatibility.
horovod
- Indicates Horovod compatibility.public Boolean getHorovod()
Indicates Horovod compatibility.
public CreateImageVersionRequest withHorovod(Boolean horovod)
Indicates Horovod compatibility.
horovod
- Indicates Horovod compatibility.public Boolean isHorovod()
Indicates Horovod compatibility.
public void setReleaseNotes(String releaseNotes)
The maintainer description of the image version.
releaseNotes
- The maintainer description of the image version.public String getReleaseNotes()
The maintainer description of the image version.
public CreateImageVersionRequest withReleaseNotes(String releaseNotes)
The maintainer description of the image version.
releaseNotes
- The maintainer description of the image version.public String toString()
toString
in class Object
Object.toString()
public CreateImageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()