Class StaticSitesWorkflowPreviewRequest
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.models.StaticSitesWorkflowPreviewRequest
-
public final class StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource
Request entity for previewing the Static Site workflow.
-
-
Constructor Summary
Constructors Constructor Description StaticSitesWorkflowPreviewRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbranch()Get the branch property: The target branch in the repository.StaticSiteBuildPropertiesbuildProperties()Get the buildProperties property: Build properties to configure on the repository.StringrepositoryUrl()Get the repositoryUrl property: URL for the repository of the static site.voidvalidate()Validates the instance.StaticSitesWorkflowPreviewRequestwithBranch(String branch)Set the branch property: The target branch in the repository.StaticSitesWorkflowPreviewRequestwithBuildProperties(StaticSiteBuildProperties buildProperties)Set the buildProperties property: Build properties to configure on the repository.StaticSitesWorkflowPreviewRequestwithKind(String kind)Set the kind property: Kind of resource.StaticSitesWorkflowPreviewRequestwithRepositoryUrl(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
-
-
-
-
Method Detail
-
withKind
public StaticSitesWorkflowPreviewRequest withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
repositoryUrl
public String repositoryUrl()
Get the repositoryUrl property: URL for the repository of the static site.- Returns:
- the repositoryUrl value.
-
withRepositoryUrl
public StaticSitesWorkflowPreviewRequest withRepositoryUrl(String repositoryUrl)
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
public String branch()
Get the branch property: The target branch in the repository.- Returns:
- the branch value.
-
withBranch
public StaticSitesWorkflowPreviewRequest withBranch(String branch)
Set the branch property: The target branch in the repository.- Parameters:
branch- the branch value to set.- Returns:
- the StaticSitesWorkflowPreviewRequest object itself.
-
buildProperties
public StaticSiteBuildProperties 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-