Interface CreateImageVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateImageVersionRequest.Builder,,CreateImageVersionRequest> SageMakerRequest.Builder,SdkBuilder<CreateImageVersionRequest.Builder,,CreateImageVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateImageVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionA list of aliases created with the image version.aliases(Collection<String> aliases) A list of aliases created with the image version.The registry path of the container image to use as the starting point for this version.clientToken(String clientToken) A unique ID.Indicates Horovod compatibility.TheImageNameof theImageto create a version of.Indicates SageMaker job type compatibility.Indicates SageMaker job type compatibility.mlFramework(String mlFramework) The machine learning framework vended in the image version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Indicates CPU or GPU compatibility.Indicates CPU or GPU compatibility.programmingLang(String programmingLang) The supported programming language and its version.releaseNotes(String releaseNotes) The maintainer description of the image version.vendorGuidance(String vendorGuidance) The stability of the image version, specified by the maintainer.vendorGuidance(VendorGuidance vendorGuidance) The stability of the image version, specified by the maintainer.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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]>- Parameters:
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]>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageName
The
ImageNameof theImageto create a version of.- Parameters:
imageName- TheImageNameof theImageto create a version of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
A list of aliases created with the image version.
- Parameters:
aliases- A list of aliases created with the image version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
A list of aliases created with the image version.
- Parameters:
aliases- A list of aliases created with the image version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
mlFramework
The machine learning framework vended in the image version.
- Parameters:
mlFramework- The machine learning framework vended in the image version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programmingLang
The supported programming language and its version.
- Parameters:
programmingLang- The supported programming language and its version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processor
Indicates CPU or GPU compatibility.
-
CPU: The image version is compatible with CPU. -
GPU: The image version is compatible with GPU.
- Parameters:
processor- Indicates CPU or GPU compatibility.-
CPU: The image version is compatible with CPU. -
GPU: The image version is compatible with GPU.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
processor
Indicates CPU or GPU compatibility.
-
CPU: The image version is compatible with CPU. -
GPU: The image version is compatible with GPU.
- Parameters:
processor- Indicates CPU or GPU compatibility.-
CPU: The image version is compatible with CPU. -
GPU: The image version is compatible with GPU.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
horovod
Indicates Horovod compatibility.
- Parameters:
horovod- Indicates Horovod compatibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseNotes
The maintainer description of the image version.
- Parameters:
releaseNotes- The maintainer description of the image version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateImageVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateImageVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-