BuildResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. BuildResultProperties
- com.
Implements
public final class BuildResultProperties
implements JsonSerializable<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. |
static
Build |
fromJson(JsonReader jsonReader)
Reads an instance of Build |
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 |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static BuildResultProperties fromJson(JsonReader jsonReader)
Reads an instance of BuildResultProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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