TriggeredBuildResult Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. TriggeredBuildResult
- com.
Implements
public final class TriggeredBuildResult
implements JsonSerializable<TriggeredBuildResult>
The build result triggered by a build.
Constructor Summary
Constructor | Description |
---|---|
TriggeredBuildResult() |
Creates an instance of Triggered |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Triggered |
fromJson(JsonReader jsonReader)
Reads an instance of Triggered |
String |
id()
Get the id property: The unique build id of this build result. |
String |
image()
Get the image property: The container image of this build result. |
String |
lastTransitionReason()
Get the last |
String |
lastTransitionStatus()
Get the last |
Offset |
lastTransitionTime()
Get the last |
Triggered |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Triggered |
withId(String id)
Set the id property: The unique build id of this build result. |
Triggered |
withImage(String image)
Set the image property: The container image of this build result. |
Triggered |
withLastTransitionReason(String lastTransitionReason)
Set the last |
Triggered |
withLastTransitionStatus(String lastTransitionStatus)
Set the last |
Triggered |
withLastTransitionTime(OffsetDateTime lastTransitionTime)
Set the last |
Methods inherited from java.lang.Object
Constructor Details
TriggeredBuildResult
public TriggeredBuildResult()
Creates an instance of TriggeredBuildResult class.
Method Details
fromJson
public static TriggeredBuildResult fromJson(JsonReader jsonReader)
Reads an instance of TriggeredBuildResult from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The unique build id of this build result.
Returns:
image
public String image()
Get the image property: The container image of this build result.
Returns:
lastTransitionReason
public String lastTransitionReason()
Get the lastTransitionReason property: The last transition reason of this build result.
Returns:
lastTransitionStatus
public String lastTransitionStatus()
Get the lastTransitionStatus property: The last transition status of this build result.
Returns:
lastTransitionTime
public OffsetDateTime lastTransitionTime()
Get the lastTransitionTime property: The last transition time of this build result.
Returns:
provisioningState
public TriggeredBuildResultProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of this build result.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public TriggeredBuildResult withId(String id)
Set the id property: The unique build id of this build result.
Parameters:
Returns:
withImage
public TriggeredBuildResult withImage(String image)
Set the image property: The container image of this build result.
Parameters:
Returns:
withLastTransitionReason
public TriggeredBuildResult withLastTransitionReason(String lastTransitionReason)
Set the lastTransitionReason property: The last transition reason of this build result.
Parameters:
Returns:
withLastTransitionStatus
public TriggeredBuildResult withLastTransitionStatus(String lastTransitionStatus)
Set the lastTransitionStatus property: The last transition status of this build result.
Parameters:
Returns:
withLastTransitionTime
public TriggeredBuildResult withLastTransitionTime(OffsetDateTime lastTransitionTime)
Set the lastTransitionTime property: The last transition time of this build result.
Parameters:
Returns:
Applies to
Azure SDK for Java