UserArtifactSource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. UserArtifactSource
- com.
Implements
public final class UserArtifactSource
implements JsonSerializable<UserArtifactSource>
The source image from which the Image Version is going to be created.
Constructor Summary
Constructor | Description |
---|---|
UserArtifactSource() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
defaultConfigurationLink()
Get the default |
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
String |
mediaLink()
Get the media |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
User |
withDefaultConfigurationLink(String defaultConfigurationLink)
Set the default |
User |
withMediaLink(String mediaLink)
Set the media |
Methods inherited from java.lang.Object
Constructor Details
UserArtifactSource
public UserArtifactSource()
Creates an instance of UserArtifactSource class.
Method Details
defaultConfigurationLink
public String defaultConfigurationLink()
Get the defaultConfigurationLink property: Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
Returns:
fromJson
public static UserArtifactSource fromJson(JsonReader jsonReader)
Reads an instance of UserArtifactSource from the JsonReader.
Parameters:
Returns:
Throws:
mediaLink
public String mediaLink()
Get the mediaLink property: Required. The mediaLink of the artifact, must be a readable storage page blob.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDefaultConfigurationLink
public UserArtifactSource withDefaultConfigurationLink(String defaultConfigurationLink)
Set the defaultConfigurationLink property: Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
Parameters:
Returns:
withMediaLink
public UserArtifactSource withMediaLink(String mediaLink)
Set the mediaLink property: Required. The mediaLink of the artifact, must be a readable storage page blob.
Parameters:
Returns:
Applies to
Azure SDK for Java