public final class TemplateLink extends Object
| Constructor and Description |
|---|
TemplateLink() |
| Modifier and Type | Method and Description |
|---|---|
String |
contentVersion()
Get the contentVersion property: If included, must match the ContentVersion in the template.
|
String |
id()
Get the id property: The resource id of a Template Spec.
|
String |
relativePath()
Get the relativePath property: Applicable only if this template link references a Template Spec.
|
String |
uri()
Get the uri property: The URI of the template to deploy.
|
void |
validate()
Validates the instance.
|
TemplateLink |
withContentVersion(String contentVersion)
Set the contentVersion property: If included, must match the ContentVersion in the template.
|
TemplateLink |
withId(String id)
Set the id property: The resource id of a Template Spec.
|
TemplateLink |
withRelativePath(String relativePath)
Set the relativePath property: Applicable only if this template link references a Template Spec.
|
TemplateLink |
withUri(String uri)
Set the uri property: The URI of the template to deploy.
|
public String uri()
public TemplateLink withUri(String uri)
uri - the uri value to set.public String id()
public TemplateLink withId(String id)
id - the id value to set.public String relativePath()
public TemplateLink withRelativePath(String relativePath)
relativePath - the relativePath value to set.public String contentVersion()
public TemplateLink withContentVersion(String contentVersion)
contentVersion - the contentVersion value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.