TriggeredBuildResult Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.TriggeredBuildResult

public final class TriggeredBuildResult

The build result triggered by a build.

Constructor Summary

Constructor Description
TriggeredBuildResult()

Creates an instance of TriggeredBuildResult class.

Method Summary

Modifier and Type Method and Description
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 lastTransitionReason property: The last transition reason of this build result.

String lastTransitionStatus()

Get the lastTransitionStatus property: The last transition status of this build result.

OffsetDateTime lastTransitionTime()

Get the lastTransitionTime property: The last transition time of this build result.

TriggeredBuildResultProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this build result.

void validate()

Validates the instance.

TriggeredBuildResult withId(String id)

Set the id property: The unique build id of this build result.

TriggeredBuildResult withImage(String image)

Set the image property: The container image of this build result.

TriggeredBuildResult withLastTransitionReason(String lastTransitionReason)

Set the lastTransitionReason property: The last transition reason of this build result.

TriggeredBuildResult withLastTransitionStatus(String lastTransitionStatus)

Set the lastTransitionStatus property: The last transition status of this build result.

TriggeredBuildResult withLastTransitionTime(OffsetDateTime lastTransitionTime)

Set the lastTransitionTime property: The last transition time of this build result.

Methods inherited from java.lang.Object

Constructor Details

TriggeredBuildResult

public TriggeredBuildResult()

Creates an instance of TriggeredBuildResult class.

Method Details

id

public String id()

Get the id property: The unique build id of this build result.

Returns:

the id value.

image

public String image()

Get the image property: The container image of this build result.

Returns:

the image value.

lastTransitionReason

public String lastTransitionReason()

Get the lastTransitionReason property: The last transition reason of this build result.

Returns:

the lastTransitionReason value.

lastTransitionStatus

public String lastTransitionStatus()

Get the lastTransitionStatus property: The last transition status of this build result.

Returns:

the lastTransitionStatus value.

lastTransitionTime

public OffsetDateTime lastTransitionTime()

Get the lastTransitionTime property: The last transition time of this build result.

Returns:

the lastTransitionTime value.

provisioningState

public TriggeredBuildResultProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of this build result.

Returns:

the provisioningState value.

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:

id - the id value to set.

Returns:

the TriggeredBuildResult object itself.

withImage

public TriggeredBuildResult withImage(String image)

Set the image property: The container image of this build result.

Parameters:

image - the image value to set.

Returns:

the TriggeredBuildResult object itself.

withLastTransitionReason

public TriggeredBuildResult withLastTransitionReason(String lastTransitionReason)

Set the lastTransitionReason property: The last transition reason of this build result.

Parameters:

lastTransitionReason - the lastTransitionReason value to set.

Returns:

the TriggeredBuildResult object itself.

withLastTransitionStatus

public TriggeredBuildResult withLastTransitionStatus(String lastTransitionStatus)

Set the lastTransitionStatus property: The last transition status of this build result.

Parameters:

lastTransitionStatus - the lastTransitionStatus value to set.

Returns:

the TriggeredBuildResult object itself.

withLastTransitionTime

public TriggeredBuildResult withLastTransitionTime(OffsetDateTime lastTransitionTime)

Set the lastTransitionTime property: The last transition time of this build result.

Parameters:

lastTransitionTime - the lastTransitionTime value to set.

Returns:

the TriggeredBuildResult object itself.

Applies to