Class StaticSitesWorkflowPreviewRequest
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.StaticSitesWorkflowPreviewRequest
Request entity for previewing the Static Site workflow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranch()
Get the branch property: The target branch in the repository.Get the buildProperties property: Build properties to configure on the repository.Get the repositoryUrl property: URL for the repository of the static site.void
validate()
Validates the instance.withBranch
(String branch) Set the branch property: The target branch in the repository.withBuildProperties
(StaticSiteBuildProperties buildProperties) Set the buildProperties property: Build properties to configure on the repository.Set the kind property: Kind of resource.withRepositoryUrl
(String repositoryUrl) Set the repositoryUrl property: URL for the repository of the static site.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
StaticSitesWorkflowPreviewRequest
public StaticSitesWorkflowPreviewRequest()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
repositoryUrl
Get the repositoryUrl property: URL for the repository of the static site.- Returns:
- the repositoryUrl value.
-
withRepositoryUrl
Set the repositoryUrl property: URL for the repository of the static site.- Parameters:
repositoryUrl
- the repositoryUrl value to set.- Returns:
- the StaticSitesWorkflowPreviewRequest object itself.
-
branch
Get the branch property: The target branch in the repository.- Returns:
- the branch value.
-
withBranch
Set the branch property: The target branch in the repository.- Parameters:
branch
- the branch value to set.- Returns:
- the StaticSitesWorkflowPreviewRequest object itself.
-
buildProperties
Get the buildProperties property: Build properties to configure on the repository.- Returns:
- the buildProperties value.
-
withBuildProperties
public StaticSitesWorkflowPreviewRequest withBuildProperties(StaticSiteBuildProperties buildProperties) Set the buildProperties property: Build properties to configure on the repository.- Parameters:
buildProperties
- the buildProperties value to set.- Returns:
- the StaticSitesWorkflowPreviewRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-