Class GitHubActionContainerConfiguration
java.lang.Object
com.azure.resourcemanager.appservice.models.GitHubActionContainerConfiguration
The GitHub action container configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the imageName property: The image name for the build.password()
Get the password property: The password used to upload the image to the container registry.Get the serverUrl property: The server URL for the container registry where the build will be hosted.username()
Get the username property: The username used to upload the image to the container registry.void
validate()
Validates the instance.withImageName
(String imageName) Set the imageName property: The image name for the build.withPassword
(String password) Set the password property: The password used to upload the image to the container registry.withServerUrl
(String serverUrl) Set the serverUrl property: The server URL for the container registry where the build will be hosted.withUsername
(String username) Set the username property: The username used to upload the image to the container registry.
-
Constructor Details
-
GitHubActionContainerConfiguration
public GitHubActionContainerConfiguration()
-
-
Method Details
-
serverUrl
Get the serverUrl property: The server URL for the container registry where the build will be hosted.- Returns:
- the serverUrl value.
-
withServerUrl
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
Get the imageName property: The image name for the build.- Returns:
- the imageName value.
-
withImageName
Set the imageName property: The image name for the build.- Parameters:
imageName
- the imageName value to set.- Returns:
- the GitHubActionContainerConfiguration object itself.
-
username
Get the username property: The username used to upload the image to the container registry.- Returns:
- the username value.
-
withUsername
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
Get the password property: The password used to upload the image to the container registry.- Returns:
- the password value.
-
withPassword
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.
-