public class GalleryImageInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
GalleryImageInner() |
Modifier and Type | Method and Description |
---|---|
String |
author()
Get the author property: The author of the gallery image.
|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the gallery image.
|
String |
description()
Get the description property: The description of the gallery image.
|
Boolean |
enabled()
Get the enabled property: Indicates whether this gallery image is enabled.
|
String |
icon()
Get the icon property: The icon of the gallery image.
|
GalleryImageReference |
imageReference()
Get the imageReference property: The image reference of the gallery image.
|
Boolean |
isPlanAuthorized()
Get the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.
|
String |
planId()
Get the planId property: The third party plan that applies to this image.
|
void |
validate()
Validates the instance.
|
GalleryImageInner |
withAuthor(String author)
Set the author property: The author of the gallery image.
|
GalleryImageInner |
withDescription(String description)
Set the description property: The description of the gallery image.
|
GalleryImageInner |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether this gallery image is enabled.
|
GalleryImageInner |
withIcon(String icon)
Set the icon property: The icon of the gallery image.
|
GalleryImageInner |
withImageReference(GalleryImageReference imageReference)
Set the imageReference property: The image reference of the gallery image.
|
GalleryImageInner |
withIsPlanAuthorized(Boolean isPlanAuthorized)
Set the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.
|
GalleryImageInner |
withLocation(String location) |
GalleryImageInner |
withPlanId(String planId)
Set the planId property: The third party plan that applies to this image.
|
GalleryImageInner |
withTags(Map<String,String> tags) |
public String author()
public GalleryImageInner withAuthor(String author)
author
- the author value to set.public OffsetDateTime createdDate()
public String description()
public GalleryImageInner withDescription(String description)
description
- the description value to set.public GalleryImageReference imageReference()
public GalleryImageInner withImageReference(GalleryImageReference imageReference)
imageReference
- the imageReference value to set.public String icon()
public GalleryImageInner withIcon(String icon)
icon
- the icon value to set.public Boolean enabled()
public GalleryImageInner withEnabled(Boolean enabled)
enabled
- the enabled value to set.public String planId()
public GalleryImageInner withPlanId(String planId)
planId
- the planId value to set.public Boolean isPlanAuthorized()
public GalleryImageInner withIsPlanAuthorized(Boolean isPlanAuthorized)
isPlanAuthorized
- the isPlanAuthorized value to set.public GalleryImageInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public GalleryImageInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.