BuildResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. BuildResultProperties
- com.
public final class BuildResultProperties
Build result resource properties payload.
Constructor Summary
Constructor | Description |
---|---|
BuildResultProperties() |
Creates an instance of Build |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
buildPodName()
Get the build |
List<Build |
buildStages()
Get the build |
Error |
error()
Get the error property: Error when build is failed. |
String |
image()
Get the image property: The container registry image of this build result. |
String |
name()
Get the name property: The name of this build result. |
Build |
provisioningState()
Get the provisioning |
void |
validate()
Validates the instance. |
Build |
withBuildPodName(String buildPodName)
Set the build |
Build |
withError(Error error)
Set the error property: Error when build is failed. |
Build |
withName(String name)
Set the name property: The name of this build result. |
Methods inherited from java.lang.Object
Constructor Details
BuildResultProperties
public BuildResultProperties()
Creates an instance of BuildResultProperties class.
Method Details
buildPodName
public String buildPodName()
Get the buildPodName property: The build pod name which can be used to get the build log streaming.
Returns:
buildStages
public List
Get the buildStages property: All of the build stage (init-container and container) resources in build pod.
Returns:
error
public Error error()
Get the error property: Error when build is failed.
Returns:
image
public String image()
Get the image property: The container registry image of this build result.
Returns:
name
public String name()
Get the name property: The name of this build result.
Returns:
provisioningState
public BuildResultProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the KPack build result.
Returns:
validate
public void validate()
Validates the instance.
withBuildPodName
public BuildResultProperties withBuildPodName(String buildPodName)
Set the buildPodName property: The build pod name which can be used to get the build log streaming.
Parameters:
Returns:
withError
public BuildResultProperties withError(Error error)
Set the error property: Error when build is failed.
Parameters:
Returns:
withName
public BuildResultProperties withName(String name)
Set the name property: The name of this build result.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for