Class GithubActionConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.GithubActionConfiguration
-
public final class GithubActionConfiguration extends Object
Configuration properties that define the mutable settings of a Container App SourceControl.
-
-
Constructor Summary
Constructors Constructor Description GithubActionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureCredentials
azureCredentials()
Get the azureCredentials property: AzureCredentials configurations.String
contextPath()
Get the contextPath property: Context path.String
image()
Get the image property: Image name.String
os()
Get the os property: Operation system.String
publishType()
Get the publishType property: Code or Image.RegistryInfo
registryInfo()
Get the registryInfo property: Registry configurations.String
runtimeStack()
Get the runtimeStack property: Runtime stack.String
runtimeVersion()
Get the runtimeVersion property: Runtime version.void
validate()
Validates the instance.GithubActionConfiguration
withAzureCredentials(AzureCredentials azureCredentials)
Set the azureCredentials property: AzureCredentials configurations.GithubActionConfiguration
withContextPath(String contextPath)
Set the contextPath property: Context path.GithubActionConfiguration
withImage(String image)
Set the image property: Image name.GithubActionConfiguration
withOs(String os)
Set the os property: Operation system.GithubActionConfiguration
withPublishType(String publishType)
Set the publishType property: Code or Image.GithubActionConfiguration
withRegistryInfo(RegistryInfo registryInfo)
Set the registryInfo property: Registry configurations.GithubActionConfiguration
withRuntimeStack(String runtimeStack)
Set the runtimeStack property: Runtime stack.GithubActionConfiguration
withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: Runtime version.
-
-
-
Method Detail
-
registryInfo
public RegistryInfo registryInfo()
Get the registryInfo property: Registry configurations.- Returns:
- the registryInfo value.
-
withRegistryInfo
public GithubActionConfiguration withRegistryInfo(RegistryInfo registryInfo)
Set the registryInfo property: Registry configurations.- Parameters:
registryInfo
- the registryInfo value to set.- Returns:
- the GithubActionConfiguration object itself.
-
azureCredentials
public AzureCredentials azureCredentials()
Get the azureCredentials property: AzureCredentials configurations.- Returns:
- the azureCredentials value.
-
withAzureCredentials
public GithubActionConfiguration withAzureCredentials(AzureCredentials azureCredentials)
Set the azureCredentials property: AzureCredentials configurations.- Parameters:
azureCredentials
- the azureCredentials value to set.- Returns:
- the GithubActionConfiguration object itself.
-
contextPath
public String contextPath()
Get the contextPath property: Context path.- Returns:
- the contextPath value.
-
withContextPath
public GithubActionConfiguration withContextPath(String contextPath)
Set the contextPath property: Context path.- Parameters:
contextPath
- the contextPath value to set.- Returns:
- the GithubActionConfiguration object itself.
-
image
public String image()
Get the image property: Image name.- Returns:
- the image value.
-
withImage
public GithubActionConfiguration withImage(String image)
Set the image property: Image name.- Parameters:
image
- the image value to set.- Returns:
- the GithubActionConfiguration object itself.
-
publishType
public String publishType()
Get the publishType property: Code or Image.- Returns:
- the publishType value.
-
withPublishType
public GithubActionConfiguration withPublishType(String publishType)
Set the publishType property: Code or Image.- Parameters:
publishType
- the publishType value to set.- Returns:
- the GithubActionConfiguration object itself.
-
os
public String os()
Get the os property: Operation system.- Returns:
- the os value.
-
withOs
public GithubActionConfiguration withOs(String os)
Set the os property: Operation system.- Parameters:
os
- the os value to set.- Returns:
- the GithubActionConfiguration object itself.
-
runtimeStack
public String runtimeStack()
Get the runtimeStack property: Runtime stack.- Returns:
- the runtimeStack value.
-
withRuntimeStack
public GithubActionConfiguration withRuntimeStack(String runtimeStack)
Set the runtimeStack property: Runtime stack.- Parameters:
runtimeStack
- the runtimeStack value to set.- Returns:
- the GithubActionConfiguration object itself.
-
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: Runtime version.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
public GithubActionConfiguration withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: Runtime version.- Parameters:
runtimeVersion
- the runtimeVersion value to set.- Returns:
- the GithubActionConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-