public final class StaticSiteBuildProperties extends Object
| Constructor and Description |
|---|
StaticSiteBuildProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
apiBuildCommand()
Get the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API
application.
|
String |
apiLocation()
Get the apiLocation property: The path to the api code within the repository.
|
String |
appArtifactLocation()
Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in
favor of OutputLocation).
|
String |
appBuildCommand()
Get the appBuildCommand property: A custom command to run during deployment of the static content application.
|
String |
appLocation()
Get the appLocation property: The path to the app code within the repository.
|
String |
githubActionSecretNameOverride()
Get the githubActionSecretNameOverride property: Github Action secret name override.
|
String |
outputLocation()
Get the outputLocation property: The output path of the app after building.
|
Boolean |
skipGithubActionWorkflowGeneration()
Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
|
void |
validate()
Validates the instance.
|
StaticSiteBuildProperties |
withApiBuildCommand(String apiBuildCommand)
Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API
application.
|
StaticSiteBuildProperties |
withApiLocation(String apiLocation)
Set the apiLocation property: The path to the api code within the repository.
|
StaticSiteBuildProperties |
withAppArtifactLocation(String appArtifactLocation)
Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in
favor of OutputLocation).
|
StaticSiteBuildProperties |
withAppBuildCommand(String appBuildCommand)
Set the appBuildCommand property: A custom command to run during deployment of the static content application.
|
StaticSiteBuildProperties |
withAppLocation(String appLocation)
Set the appLocation property: The path to the app code within the repository.
|
StaticSiteBuildProperties |
withGithubActionSecretNameOverride(String githubActionSecretNameOverride)
Set the githubActionSecretNameOverride property: Github Action secret name override.
|
StaticSiteBuildProperties |
withOutputLocation(String outputLocation)
Set the outputLocation property: The output path of the app after building.
|
StaticSiteBuildProperties |
withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)
Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
|
public String appLocation()
public StaticSiteBuildProperties withAppLocation(String appLocation)
appLocation - the appLocation value to set.public String apiLocation()
public StaticSiteBuildProperties withApiLocation(String apiLocation)
apiLocation - the apiLocation value to set.public String appArtifactLocation()
public StaticSiteBuildProperties withAppArtifactLocation(String appArtifactLocation)
appArtifactLocation - the appArtifactLocation value to set.public String outputLocation()
public StaticSiteBuildProperties withOutputLocation(String outputLocation)
outputLocation - the outputLocation value to set.public String appBuildCommand()
public StaticSiteBuildProperties withAppBuildCommand(String appBuildCommand)
appBuildCommand - the appBuildCommand value to set.public String apiBuildCommand()
public StaticSiteBuildProperties withApiBuildCommand(String apiBuildCommand)
apiBuildCommand - the apiBuildCommand value to set.public Boolean skipGithubActionWorkflowGeneration()
public StaticSiteBuildProperties withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)
skipGithubActionWorkflowGeneration - the skipGithubActionWorkflowGeneration value to set.public String githubActionSecretNameOverride()
public StaticSiteBuildProperties withGithubActionSecretNameOverride(String githubActionSecretNameOverride)
githubActionSecretNameOverride - the githubActionSecretNameOverride value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.