Class StaticSiteTemplateOptions
java.lang.Object
com.azure.resourcemanager.appservice.models.StaticSiteTemplateOptions
Template Options for the static site.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the newly generated repository.Get the isPrivate property: Whether or not the newly generated repository is a private repository.owner()
Get the owner property: Owner of the newly generated repository.Get the repositoryName property: Name of the newly generated repository.Get the templateRepositoryUrl property: URL of the template repository.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the newly generated repository.withIsPrivate
(Boolean isPrivate) Set the isPrivate property: Whether or not the newly generated repository is a private repository.Set the owner property: Owner of the newly generated repository.withRepositoryName
(String repositoryName) Set the repositoryName property: Name of the newly generated repository.withTemplateRepositoryUrl
(String templateRepositoryUrl) Set the templateRepositoryUrl property: URL of the template repository.
-
Constructor Details
-
StaticSiteTemplateOptions
public StaticSiteTemplateOptions()
-
-
Method Details
-
templateRepositoryUrl
Get the templateRepositoryUrl property: URL of the template repository. The newly generated repository will be based on this one.- Returns:
- the templateRepositoryUrl value.
-
withTemplateRepositoryUrl
Set the templateRepositoryUrl property: URL of the template repository. The newly generated repository will be based on this one.- Parameters:
templateRepositoryUrl
- the templateRepositoryUrl value to set.- Returns:
- the StaticSiteTemplateOptions object itself.
-
owner
Get the owner property: Owner of the newly generated repository.- Returns:
- the owner value.
-
withOwner
Set the owner property: Owner of the newly generated repository.- Parameters:
owner
- the owner value to set.- Returns:
- the StaticSiteTemplateOptions object itself.
-
repositoryName
Get the repositoryName property: Name of the newly generated repository.- Returns:
- the repositoryName value.
-
withRepositoryName
Set the repositoryName property: Name of the newly generated repository.- Parameters:
repositoryName
- the repositoryName value to set.- Returns:
- the StaticSiteTemplateOptions object itself.
-
description
Get the description property: Description of the newly generated repository.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the newly generated repository.- Parameters:
description
- the description value to set.- Returns:
- the StaticSiteTemplateOptions object itself.
-
isPrivate
Get the isPrivate property: Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).- Returns:
- the isPrivate value.
-
withIsPrivate
Set the isPrivate property: Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).- Parameters:
isPrivate
- the isPrivate value to set.- Returns:
- the StaticSiteTemplateOptions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-