GitHubActionContainerConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. GitHubActionContainerConfiguration
- com.
Implements
public final class GitHubActionContainerConfiguration
implements JsonSerializable<GitHubActionContainerConfiguration>
The GitHub action container configuration.
Constructor Summary
Constructor | Description |
---|---|
GitHubActionContainerConfiguration() |
Creates an instance of Git |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
String |
imageName()
Get the image |
String |
password()
Get the password property: The password used to upload the image to the container registry. |
String |
serverUrl()
Get the server |
Json |
toJson(JsonWriter jsonWriter) |
String |
username()
Get the username property: The username used to upload the image to the container registry. |
void |
validate()
Validates the instance. |
Git |
withImageName(String imageName)
Set the image |
Git |
withPassword(String password)
Set the password property: The password used to upload the image to the container registry. |
Git |
withServerUrl(String serverUrl)
Set the server |
Git |
withUsername(String username)
Set the username property: The username used to upload the image to the container registry. |
Methods inherited from java.lang.Object
Constructor Details
GitHubActionContainerConfiguration
public GitHubActionContainerConfiguration()
Creates an instance of GitHubActionContainerConfiguration class.
Method Details
fromJson
public static GitHubActionContainerConfiguration fromJson(JsonReader jsonReader)
Reads an instance of GitHubActionContainerConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
imageName
public String imageName()
Get the imageName property: The image name for the build.
Returns:
password
public String password()
Get the password property: The password used to upload the image to the container registry.
Returns:
serverUrl
public String serverUrl()
Get the serverUrl property: The server URL for the container registry where the build will be hosted.
Returns:
toJson
username
public String username()
Get the username property: The username used to upload the image to the container registry.
Returns:
validate
public void validate()
Validates the instance.
withImageName
public GitHubActionContainerConfiguration withImageName(String imageName)
Set the imageName property: The image name for the build.
Parameters:
Returns:
withPassword
public GitHubActionContainerConfiguration withPassword(String password)
Set the password property: The password used to upload the image to the container registry.
Parameters:
Returns:
withServerUrl
public GitHubActionContainerConfiguration withServerUrl(String serverUrl)
Set the serverUrl property: The server URL for the container registry where the build will be hosted.
Parameters:
Returns:
withUsername
public GitHubActionContainerConfiguration withUsername(String username)
Set the username property: The username used to upload the image to the container registry.
Parameters:
Returns:
Applies to
Azure SDK for Java