public final class StaticSiteTemplateOptions extends Object
| Constructor and Description |
|---|
StaticSiteTemplateOptions() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Description of the newly generated repository.
|
Boolean |
isPrivate()
Get the isPrivate property: Whether or not the newly generated repository is a private repository.
|
String |
owner()
Get the owner property: Owner of the newly generated repository.
|
String |
repositoryName()
Get the repositoryName property: Name of the newly generated repository.
|
String |
templateRepositoryUrl()
Get the templateRepositoryUrl property: URL of the template repository.
|
void |
validate()
Validates the instance.
|
StaticSiteTemplateOptions |
withDescription(String description)
Set the description property: Description of the newly generated repository.
|
StaticSiteTemplateOptions |
withIsPrivate(Boolean isPrivate)
Set the isPrivate property: Whether or not the newly generated repository is a private repository.
|
StaticSiteTemplateOptions |
withOwner(String owner)
Set the owner property: Owner of the newly generated repository.
|
StaticSiteTemplateOptions |
withRepositoryName(String repositoryName)
Set the repositoryName property: Name of the newly generated repository.
|
StaticSiteTemplateOptions |
withTemplateRepositoryUrl(String templateRepositoryUrl)
Set the templateRepositoryUrl property: URL of the template repository.
|
public String templateRepositoryUrl()
public StaticSiteTemplateOptions withTemplateRepositoryUrl(String templateRepositoryUrl)
templateRepositoryUrl - the templateRepositoryUrl value to set.public String owner()
public StaticSiteTemplateOptions withOwner(String owner)
owner - the owner value to set.public String repositoryName()
public StaticSiteTemplateOptions withRepositoryName(String repositoryName)
repositoryName - the repositoryName value to set.public String description()
public StaticSiteTemplateOptions withDescription(String description)
description - the description value to set.public Boolean isPrivate()
public StaticSiteTemplateOptions withIsPrivate(Boolean isPrivate)
isPrivate - the isPrivate value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.