Interface Image.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Image.Builder,Image>,SdkBuilder<Image.Builder,Image>,SdkPojo
- Enclosing class:
- Image
public static interface Image.Builder extends SdkPojo, CopyableBuilder<Image.Builder,Image>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Image.BuilderimageId(Consumer<ImageIdentifier.Builder> imageId)An object that contains the image tag and image digest associated with an image.Image.BuilderimageId(ImageIdentifier imageId)An object that contains the image tag and image digest associated with an image.Image.BuilderimageManifest(String imageManifest)The image manifest that's associated with the image.Image.BuilderimageManifestMediaType(String imageManifestMediaType)The manifest media type of the image.Image.BuilderregistryId(String registryId)The Amazon Web Services account ID that's associated with the registry containing the image.Image.BuilderrepositoryName(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 Detail
-
registryId
Image.Builder registryId(String 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
Image.Builder repositoryName(String 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
Image.Builder imageId(ImageIdentifier 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
default Image.Builder imageId(Consumer<ImageIdentifier.Builder> 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.Builderavoiding the need to create one manually viaImageIdentifier.builder().When the
Consumercompletes,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:
imageId(ImageIdentifier)
-
imageManifest
Image.Builder imageManifest(String 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
Image.Builder imageManifestMediaType(String 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.
-
-