GalleryArtifactVersionSource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactVersionSource
- com.
Implements
public class GalleryArtifactVersionSource
implements JsonSerializable<GalleryArtifactVersionSource>
The gallery artifact version source.
Constructor Summary
Constructor | Description |
---|---|
GalleryArtifactVersionSource() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
id()
Get the id property: The id of the gallery artifact version source. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gallery |
withId(String id)
Set the id property: The id of the gallery artifact version source. |
Methods inherited from java.lang.Object
Constructor Details
GalleryArtifactVersionSource
public GalleryArtifactVersionSource()
Creates an instance of GalleryArtifactVersionSource class.
Method Details
fromJson
public static GalleryArtifactVersionSource fromJson(JsonReader jsonReader)
Reads an instance of GalleryArtifactVersionSource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id of the gallery artifact version source.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public GalleryArtifactVersionSource withId(String id)
Set the id property: The id of the gallery artifact version source.
Parameters:
Returns:
Applies to
Azure SDK for Java