Class ImageTemplateSharedImageVersionSource
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateSource
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateSharedImageVersionSource
-
public final class ImageTemplateSharedImageVersionSource extends ImageTemplateSource
Describes an image source that is an image version in a shared image gallery.
-
-
Constructor Summary
Constructors Constructor Description ImageTemplateSharedImageVersionSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
imageVersionId()
Get the imageVersionId property: ARM resource id of the image version in the shared image gallery.void
validate()
Validates the instance.ImageTemplateSharedImageVersionSource
withImageVersionId(String imageVersionId)
Set the imageVersionId property: ARM resource id of the image version in the shared image gallery.
-
-
-
Method Detail
-
imageVersionId
public String imageVersionId()
Get the imageVersionId property: ARM resource id of the image version in the shared image gallery.- Returns:
- the imageVersionId value.
-
withImageVersionId
public ImageTemplateSharedImageVersionSource withImageVersionId(String imageVersionId)
Set the imageVersionId property: ARM resource id of the image version in the shared image gallery.- Parameters:
imageVersionId
- the imageVersionId value to set.- Returns:
- the ImageTemplateSharedImageVersionSource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classImageTemplateSource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-