StaticSitesWorkflowPreviewRequest Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. models. StaticSitesWorkflowPreviewRequest
- com.
- com.
public final class StaticSitesWorkflowPreviewRequest
extends ProxyOnlyResource
Request entity for previewing the Static Site workflow.
Constructor Summary
| Constructor | Description |
|---|---|
| StaticSitesWorkflowPreviewRequest() |
Creates an instance of Static |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
branch()
Get the branch property: The target branch in the repository. |
|
Static |
buildProperties()
Get the build |
|
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
| String |
id()
Get the id property: Resource Id. |
| String |
name()
Get the name property: Resource Name. |
| String |
repositoryUrl()
Get the repository |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Static |
withBranch(String branch)
Set the branch property: The target branch in the repository. |
|
Static |
withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the build |
|
Static |
withKind(String kind)
Set the kind property: Kind of resource. |
|
Static |
withRepositoryUrl(String repositoryUrl)
Set the repository |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
StaticSitesWorkflowPreviewRequest
public StaticSitesWorkflowPreviewRequest()
Creates an instance of StaticSitesWorkflowPreviewRequest class.
Method Details
branch
public String branch()
Get the branch property: The target branch in the repository.
Returns:
buildProperties
public StaticSiteBuildProperties buildProperties()
Get the buildProperties property: Build properties to configure on the repository.
Returns:
fromJson
public static StaticSitesWorkflowPreviewRequest fromJson(JsonReader jsonReader)
Reads an instance of StaticSitesWorkflowPreviewRequest from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Overrides:
StaticSitesWorkflowPreviewRequest.id()Returns:
name
public String name()
Get the name property: Resource Name.
Overrides:
StaticSitesWorkflowPreviewRequest.name()Returns:
repositoryUrl
public String repositoryUrl()
Get the repositoryUrl property: URL for the repository of the static site.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StaticSitesWorkflowPreviewRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
StaticSitesWorkflowPreviewRequest.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
StaticSitesWorkflowPreviewRequest.validate()withBranch
public StaticSitesWorkflowPreviewRequest withBranch(String branch)
Set the branch property: The target branch in the repository.
Parameters:
Returns:
withBuildProperties
public StaticSitesWorkflowPreviewRequest withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the buildProperties property: Build properties to configure on the repository.
Parameters:
Returns:
withKind
public StaticSitesWorkflowPreviewRequest withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
StaticSitesWorkflowPreviewRequest.withKind(String kind)Parameters:
withRepositoryUrl
public StaticSitesWorkflowPreviewRequest withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: URL for the repository of the static site.
Parameters:
Returns: