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 Details

    • StaticSitesWorkflowPreviewRequest

      public StaticSitesWorkflowPreviewRequest()
  • Method Details

    • withKind

      public StaticSitesWorkflowPreviewRequest withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      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:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.