ContentLink Class
- java.
lang. Object - com.
azure. resourcemanager. automation. models. ContentLink
- com.
Implements
public final class ContentLink
implements JsonSerializable<ContentLink>
Definition of the content link.
Constructor Summary
| Constructor | Description |
|---|---|
| ContentLink() |
Creates an instance of Content |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Content |
contentHash()
Get the content |
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: Gets or sets the uri of the runbook content. |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Gets or sets the version of the content. |
|
Content |
withContentHash(ContentHash contentHash)
Set the content |
|
Content |
withUri(String uri)
Set the uri property: Gets or sets the uri of the runbook content. |
|
Content |
withVersion(String version)
Set the version property: Gets or sets the version of the content. |
Methods inherited from java.lang.Object
Constructor Details
ContentLink
public ContentLink()
Creates an instance of ContentLink class.
Method Details
contentHash
public ContentHash contentHash()
Get the contentHash property: Gets or sets the hash.
Returns:
fromJson
public static ContentLink fromJson(JsonReader jsonReader)
Reads an instance of ContentLink from the JsonReader.
Parameters:
Returns:
Throws:
toJson
uri
public String uri()
Get the uri property: Gets or sets the uri of the runbook content.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Gets or sets the version of the content.
Returns:
withContentHash
public ContentLink withContentHash(ContentHash contentHash)
Set the contentHash property: Gets or sets the hash.
Parameters:
Returns:
withUri
public ContentLink withUri(String uri)
Set the uri property: Gets or sets the uri of the runbook content.
Parameters:
Returns:
withVersion
public ContentLink withVersion(String version)
Set the version property: Gets or sets the version of the content.
Parameters:
Returns: