Class GalleryImageProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.GalleryImageProperties
Properties of a gallery image.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GalleryImageProperties class. -
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: The author of the gallery image.Get the createdDate property: The creation date of the gallery image.Get the description property: The description of the gallery image.enabled()
Get the enabled property: Indicates whether this gallery image is enabled.icon()
Get the icon property: The icon of the gallery image.Get the imageReference property: The image reference of the gallery image.Get the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.planId()
Get the planId property: The third party plan that applies to this image.void
validate()
Validates the instance.withAuthor
(String author) Set the author property: The author of the gallery image.withDescription
(String description) Set the description property: The description of the gallery image.withEnabled
(Boolean enabled) Set the enabled property: Indicates whether this gallery image is enabled.Set the icon property: The icon of the gallery image.withImageReference
(GalleryImageReference imageReference) Set the imageReference property: The image reference of the gallery image.withIsPlanAuthorized
(Boolean isPlanAuthorized) Set the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.withPlanId
(String planId) Set the planId property: The third party plan that applies to this image.
-
Constructor Details
-
GalleryImageProperties
public GalleryImageProperties()Creates an instance of GalleryImageProperties class.
-
-
Method Details
-
author
Get the author property: The author of the gallery image.- Returns:
- the author value.
-
withAuthor
Set the author property: The author of the gallery image.- Parameters:
author
- the author value to set.- Returns:
- the GalleryImageProperties object itself.
-
createdDate
Get the createdDate property: The creation date of the gallery image.- Returns:
- the createdDate value.
-
description
Get the description property: The description of the gallery image.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the gallery image.- Parameters:
description
- the description value to set.- Returns:
- the GalleryImageProperties object itself.
-
imageReference
Get the imageReference property: The image reference of the gallery image.- Returns:
- the imageReference value.
-
withImageReference
Set the imageReference property: The image reference of the gallery image.- Parameters:
imageReference
- the imageReference value to set.- Returns:
- the GalleryImageProperties object itself.
-
icon
Get the icon property: The icon of the gallery image.- Returns:
- the icon value.
-
withIcon
Set the icon property: The icon of the gallery image.- Parameters:
icon
- the icon value to set.- Returns:
- the GalleryImageProperties object itself.
-
enabled
Get the enabled property: Indicates whether this gallery image is enabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates whether this gallery image is enabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the GalleryImageProperties object itself.
-
planId
Get the planId property: The third party plan that applies to this image.- Returns:
- the planId value.
-
withPlanId
Set the planId property: The third party plan that applies to this image.- Parameters:
planId
- the planId value to set.- Returns:
- the GalleryImageProperties object itself.
-
isPlanAuthorized
Get the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.- Returns:
- the isPlanAuthorized value.
-
withIsPlanAuthorized
Set the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.- Parameters:
isPlanAuthorized
- the isPlanAuthorized value to set.- Returns:
- the GalleryImageProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-