Class GalleryImageFeature
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.GalleryImageFeature
-
public final class GalleryImageFeature extends Object
A feature for gallery image.
-
-
Constructor Summary
Constructors Constructor Description GalleryImageFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The name of the gallery image feature.voidvalidate()Validates the instance.Stringvalue()Get the value property: The value of the gallery image feature.GalleryImageFeaturewithName(String name)Set the name property: The name of the gallery image feature.GalleryImageFeaturewithValue(String value)Set the value property: The value of the gallery image feature.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the gallery image feature.- Returns:
- the name value.
-
withName
public GalleryImageFeature withName(String name)
Set the name property: The name of the gallery image feature.- Parameters:
name- the name value to set.- Returns:
- the GalleryImageFeature object itself.
-
value
public String value()
Get the value property: The value of the gallery image feature.- Returns:
- the value value.
-
withValue
public GalleryImageFeature withValue(String value)
Set the value property: The value of the gallery image feature.- Parameters:
value- the value value to set.- Returns:
- the GalleryImageFeature object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-