Class GalleryImageInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.GalleryImageInner
public final class GalleryImageInner
extends com.azure.core.management.Resource
A gallery image.
-
Constructor Summary
-
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.withLocation
(String location) withPlanId
(String planId) Set the planId property: The third party plan that applies to this image.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
GalleryImageInner
public GalleryImageInner()Creates an instance of GalleryImageInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-