Class ContentLink
java.lang.Object
com.azure.resourcemanager.automation.models.ContentLink
Definition of the content link.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contentHash property: Gets or sets the hash.uri()
Get the uri property: Gets or sets the uri of the runbook content.void
validate()
Validates the instance.version()
Get the version property: Gets or sets the version of the content.withContentHash
(ContentHash contentHash) Set the contentHash property: Gets or sets the hash.Set the uri property: Gets or sets the uri of the runbook content.withVersion
(String version) Set the version property: Gets or sets the version of the content.
-
Constructor Details
-
ContentLink
public ContentLink()
-
-
Method Details
-
uri
Get the uri property: Gets or sets the uri of the runbook content.- Returns:
- the uri value.
-
withUri
Set the uri property: Gets or sets the uri of the runbook content.- Parameters:
uri
- the uri value to set.- Returns:
- the ContentLink object itself.
-
contentHash
Get the contentHash property: Gets or sets the hash.- Returns:
- the contentHash value.
-
withContentHash
Set the contentHash property: Gets or sets the hash.- Parameters:
contentHash
- the contentHash value to set.- Returns:
- the ContentLink object itself.
-
version
Get the version property: Gets or sets the version of the content.- Returns:
- the version value.
-
withVersion
Set the version property: Gets or sets the version of the content.- Parameters:
version
- the version value to set.- Returns:
- the ContentLink object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-