GalleryImageFeature Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryImageFeature
- com.
Implements
public final class GalleryImageFeature
implements JsonSerializable<GalleryImageFeature>
A feature for gallery image.
Constructor Summary
Constructor | Description |
---|---|
GalleryImageFeature() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
name()
Get the name property: The name of the gallery image feature. |
String |
startsAtVersion()
Get the starts |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The value of the gallery image feature. |
Gallery |
withName(String name)
Set the name property: The name of the gallery image feature. |
Gallery |
withStartsAtVersion(String startsAtVersion)
Set the starts |
Gallery |
withValue(String value)
Set the value property: The value of the gallery image feature. |
Methods inherited from java.lang.Object
Constructor Details
GalleryImageFeature
public GalleryImageFeature()
Creates an instance of GalleryImageFeature class.
Method Details
fromJson
public static GalleryImageFeature fromJson(JsonReader jsonReader)
Reads an instance of GalleryImageFeature from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the gallery image feature.
Returns:
startsAtVersion
public String startsAtVersion()
Get the startsAtVersion property: The minimum gallery image version which supports this feature.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value of the gallery image feature.
Returns:
withName
public GalleryImageFeature withName(String name)
Set the name property: The name of the gallery image feature.
Parameters:
Returns:
withStartsAtVersion
public GalleryImageFeature withStartsAtVersion(String startsAtVersion)
Set the startsAtVersion property: The minimum gallery image version which supports this feature.
Parameters:
Returns:
withValue
public GalleryImageFeature withValue(String value)
Set the value property: The value of the gallery image feature.
Parameters:
Returns:
Applies to
Azure SDK for Java