Class GitHubActionContainerConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.GitHubActionContainerConfiguration
-
public final class GitHubActionContainerConfiguration extends Object
The GitHub action container configuration.
-
-
Constructor Summary
Constructors Constructor Description GitHubActionContainerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringimageName()Get the imageName property: The image name for the build.Stringpassword()Get the password property: The password used to upload the image to the container registry.StringserverUrl()Get the serverUrl property: The server URL for the container registry where the build will be hosted.Stringusername()Get the username property: The username used to upload the image to the container registry.voidvalidate()Validates the instance.GitHubActionContainerConfigurationwithImageName(String imageName)Set the imageName property: The image name for the build.GitHubActionContainerConfigurationwithPassword(String password)Set the password property: The password used to upload the image to the container registry.GitHubActionContainerConfigurationwithServerUrl(String serverUrl)Set the serverUrl property: The server URL for the container registry where the build will be hosted.GitHubActionContainerConfigurationwithUsername(String username)Set the username property: The username used to upload the image to the container registry.
-
-
-
Method Detail
-
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.
-
-