Class GitHubActionContainerConfiguration

java.lang.Object
com.azure.resourcemanager.appservice.models.GitHubActionContainerConfiguration

public final class GitHubActionContainerConfiguration extends Object
The GitHub action container configuration.
  • Constructor Details

    • GitHubActionContainerConfiguration

      public GitHubActionContainerConfiguration()
  • Method Details

    • serverUrl

      public String serverUrl()
      Get the serverUrl property: The server URL for the container registry where the build will be hosted.
      Returns:
      the serverUrl value.
    • withServerUrl

      public GitHubActionContainerConfiguration withServerUrl(String serverUrl)
      Set the serverUrl property: The server URL for the container registry where the build will be hosted.
      Parameters:
      serverUrl - the serverUrl value to set.
      Returns:
      the GitHubActionContainerConfiguration object itself.
    • imageName

      public String imageName()
      Get the imageName property: The image name for the build.
      Returns:
      the imageName value.
    • withImageName

      public GitHubActionContainerConfiguration withImageName(String imageName)
      Set the imageName property: The image name for the build.
      Parameters:
      imageName - the imageName value to set.
      Returns:
      the GitHubActionContainerConfiguration object itself.
    • username

      public String username()
      Get the username property: The username used to upload the image to the container registry.
      Returns:
      the username value.
    • withUsername

      public GitHubActionContainerConfiguration withUsername(String username)
      Set the username property: The username used to upload the image to the container registry.
      Parameters:
      username - the username value to set.
      Returns:
      the GitHubActionContainerConfiguration object itself.
    • password

      public String password()
      Get the password property: The password used to upload the image to the container registry.
      Returns:
      the password value.
    • withPassword

      public GitHubActionContainerConfiguration withPassword(String password)
      Set the password property: The password used to upload the image to the container registry.
      Parameters:
      password - the password value to set.
      Returns:
      the GitHubActionContainerConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.