Class StaticSiteBuildProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.StaticSiteBuildProperties
-
public final class StaticSiteBuildProperties extends Object
Build properties for the static site.
-
-
Constructor Summary
Constructors Constructor Description StaticSiteBuildProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiBuildCommand()Get the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.StringapiLocation()Get the apiLocation property: The path to the api code within the repository.StringappArtifactLocation()Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).StringappBuildCommand()Get the appBuildCommand property: A custom command to run during deployment of the static content application.StringappLocation()Get the appLocation property: The path to the app code within the repository.StringgithubActionSecretNameOverride()Get the githubActionSecretNameOverride property: Github Action secret name override.StringoutputLocation()Get the outputLocation property: The output path of the app after building.BooleanskipGithubActionWorkflowGeneration()Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.voidvalidate()Validates the instance.StaticSiteBuildPropertieswithApiBuildCommand(String apiBuildCommand)Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.StaticSiteBuildPropertieswithApiLocation(String apiLocation)Set the apiLocation property: The path to the api code within the repository.StaticSiteBuildPropertieswithAppArtifactLocation(String appArtifactLocation)Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).StaticSiteBuildPropertieswithAppBuildCommand(String appBuildCommand)Set the appBuildCommand property: A custom command to run during deployment of the static content application.StaticSiteBuildPropertieswithAppLocation(String appLocation)Set the appLocation property: The path to the app code within the repository.StaticSiteBuildPropertieswithGithubActionSecretNameOverride(String githubActionSecretNameOverride)Set the githubActionSecretNameOverride property: Github Action secret name override.StaticSiteBuildPropertieswithOutputLocation(String outputLocation)Set the outputLocation property: The output path of the app after building.StaticSiteBuildPropertieswithSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
-
-
-
Method Detail
-
appLocation
public String appLocation()
Get the appLocation property: The path to the app code within the repository.- Returns:
- the appLocation value.
-
withAppLocation
public StaticSiteBuildProperties withAppLocation(String appLocation)
Set the appLocation property: The path to the app code within the repository.- Parameters:
appLocation- the appLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
apiLocation
public String apiLocation()
Get the apiLocation property: The path to the api code within the repository.- Returns:
- the apiLocation value.
-
withApiLocation
public StaticSiteBuildProperties withApiLocation(String apiLocation)
Set the apiLocation property: The path to the api code within the repository.- Parameters:
apiLocation- the apiLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
appArtifactLocation
public String appArtifactLocation()
Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).- Returns:
- the appArtifactLocation value.
-
withAppArtifactLocation
public StaticSiteBuildProperties withAppArtifactLocation(String appArtifactLocation)
Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).- Parameters:
appArtifactLocation- the appArtifactLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
outputLocation
public String outputLocation()
Get the outputLocation property: The output path of the app after building.- Returns:
- the outputLocation value.
-
withOutputLocation
public StaticSiteBuildProperties withOutputLocation(String outputLocation)
Set the outputLocation property: The output path of the app after building.- Parameters:
outputLocation- the outputLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
appBuildCommand
public String appBuildCommand()
Get the appBuildCommand property: A custom command to run during deployment of the static content application.- Returns:
- the appBuildCommand value.
-
withAppBuildCommand
public StaticSiteBuildProperties withAppBuildCommand(String appBuildCommand)
Set the appBuildCommand property: A custom command to run during deployment of the static content application.- Parameters:
appBuildCommand- the appBuildCommand value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
apiBuildCommand
public String apiBuildCommand()
Get the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.- Returns:
- the apiBuildCommand value.
-
withApiBuildCommand
public StaticSiteBuildProperties withApiBuildCommand(String apiBuildCommand)
Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.- Parameters:
apiBuildCommand- the apiBuildCommand value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
skipGithubActionWorkflowGeneration
public Boolean skipGithubActionWorkflowGeneration()
Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.- Returns:
- the skipGithubActionWorkflowGeneration value.
-
withSkipGithubActionWorkflowGeneration
public StaticSiteBuildProperties withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)
Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.- Parameters:
skipGithubActionWorkflowGeneration- the skipGithubActionWorkflowGeneration value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
githubActionSecretNameOverride
public String githubActionSecretNameOverride()
Get the githubActionSecretNameOverride property: Github Action secret name override.- Returns:
- the githubActionSecretNameOverride value.
-
withGithubActionSecretNameOverride
public StaticSiteBuildProperties withGithubActionSecretNameOverride(String githubActionSecretNameOverride)
Set the githubActionSecretNameOverride property: Github Action secret name override.- Parameters:
githubActionSecretNameOverride- the githubActionSecretNameOverride value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-