public final class StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource
| Constructor and Description |
|---|
StaticSitesWorkflowPreviewRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
branch()
Get the branch property: The target branch in the repository.
|
StaticSiteBuildProperties |
buildProperties()
Get the buildProperties property: Build properties to configure on the repository.
|
String |
repositoryUrl()
Get the repositoryUrl property: URL for the repository of the static site.
|
void |
validate()
Validates the instance.
|
StaticSitesWorkflowPreviewRequest |
withBranch(String branch)
Set the branch property: The target branch in the repository.
|
StaticSitesWorkflowPreviewRequest |
withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the buildProperties property: Build properties to configure on the repository.
|
StaticSitesWorkflowPreviewRequest |
withKind(String kind)
Set the kind property: Kind of resource.
|
StaticSitesWorkflowPreviewRequest |
withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: URL for the repository of the static site.
|
kindpublic StaticSitesWorkflowPreviewRequest withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String repositoryUrl()
public StaticSitesWorkflowPreviewRequest withRepositoryUrl(String repositoryUrl)
repositoryUrl - the repositoryUrl value to set.public String branch()
public StaticSitesWorkflowPreviewRequest withBranch(String branch)
branch - the branch value to set.public StaticSiteBuildProperties buildProperties()
public StaticSitesWorkflowPreviewRequest withBuildProperties(StaticSiteBuildProperties buildProperties)
buildProperties - the buildProperties value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.