Class DeploymentStackTemplateDefinitionInner
java.lang.Object
com.azure.resourcemanager.resources.fluent.models.DeploymentStackTemplateDefinitionInner
Export Template specific properties of the Deployment stack.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentStackTemplateDefinitionInner class. -
Method Summary
Modifier and TypeMethodDescriptiontemplate()Get the template property: The template content.Get the templateLink property: The URI of the template.voidvalidate()Validates the instance.withTemplate(Object template) Set the template property: The template content.withTemplateLink(DeploymentStacksTemplateLink templateLink) Set the templateLink property: The URI of the template.
-
Constructor Details
-
DeploymentStackTemplateDefinitionInner
public DeploymentStackTemplateDefinitionInner()Creates an instance of DeploymentStackTemplateDefinitionInner class.
-
-
Method Details
-
template
Get the template property: The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.- Returns:
- the template value.
-
withTemplate
Set the template property: The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.- Parameters:
template- the template value to set.- Returns:
- the DeploymentStackTemplateDefinitionInner object itself.
-
templateLink
Get the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.- Returns:
- the templateLink value.
-
withTemplateLink
public DeploymentStackTemplateDefinitionInner withTemplateLink(DeploymentStacksTemplateLink templateLink) Set the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.- Parameters:
templateLink- the templateLink value to set.- Returns:
- the DeploymentStackTemplateDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-