Interface Image.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Image.Builder,
,Image> SdkBuilder<Image.Builder,
,Image> SdkPojo
- Enclosing class:
Image
-
Method Summary
Modifier and TypeMethodDescriptiondefault Image.Builder
imageId
(Consumer<ImageIdentifier.Builder> imageId) An object that contains the image tag and image digest associated with an image.imageId
(ImageIdentifier imageId) An object that contains the image tag and image digest associated with an image.imageManifest
(String imageManifest) The image manifest that's associated with the image.imageManifestMediaType
(String imageManifestMediaType) The manifest media type of the image.registryId
(String registryId) The Amazon Web Services account ID that's associated with the registry containing the image.repositoryName
(String repositoryName) The name of the repository that's associated with the image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID that's associated with the registry containing the image.
- Parameters:
registryId
- The Amazon Web Services account ID that's associated with the registry containing the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the repository that's associated with the image.
- Parameters:
repositoryName
- The name of the repository that's associated with the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
An object that contains the image tag and image digest associated with an image.
- Parameters:
imageId
- An object that contains the image tag and image digest associated with an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
An object that contains the image tag and image digest associated with an image.
This is a convenience method that creates an instance of theImageIdentifier.Builder
avoiding the need to create one manually viaImageIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageId(ImageIdentifier)
.- Parameters:
imageId
- a consumer that will call methods onImageIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageManifest
The image manifest that's associated with the image.
- Parameters:
imageManifest
- The image manifest that's associated with the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageManifestMediaType
The manifest media type of the image.
- Parameters:
imageManifestMediaType
- The manifest media type of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-