Class TaskRunInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.containerregistry.fluent.models.TaskRunInner
-
public final class TaskRunInner extends com.azure.core.management.ProxyResourceThe task run that has the ARM resource and properties. The task run will have the information of request and result of a run.
-
-
Constructor Summary
Constructors Constructor Description TaskRunInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringforceUpdateTag()Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.IdentityPropertiesidentity()Get the identity property: Identity for the resource.Stringlocation()Get the location property: The location of the resource.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of this task run.RunRequestrunRequest()Get the runRequest property: The request (parameters) for the run.RunInnerrunResult()Get the runResult property: The result of this task run.com.azure.core.management.SystemDatasystemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.voidvalidate()Validates the instance.TaskRunInnerwithForceUpdateTag(String forceUpdateTag)Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.TaskRunInnerwithIdentity(IdentityProperties identity)Set the identity property: Identity for the resource.TaskRunInnerwithLocation(String location)Set the location property: The location of the resource.TaskRunInnerwithRunRequest(RunRequest runRequest)Set the runRequest property: The request (parameters) for the run.
-
-
-
Method Detail
-
identity
public IdentityProperties identity()
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
public TaskRunInner withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the TaskRunInner object itself.
-
location
public String location()
Get the location property: The location of the resource.- Returns:
- the location value.
-
withLocation
public TaskRunInner withLocation(String location)
Set the location property: The location of the resource.- Parameters:
location- the location value to set.- Returns:
- the TaskRunInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of this task run.- Returns:
- the provisioningState value.
-
runRequest
public RunRequest runRequest()
Get the runRequest property: The request (parameters) for the run.- Returns:
- the runRequest value.
-
withRunRequest
public TaskRunInner withRunRequest(RunRequest runRequest)
Set the runRequest property: The request (parameters) for the run.- Parameters:
runRequest- the runRequest value to set.- Returns:
- the TaskRunInner object itself.
-
runResult
public RunInner runResult()
Get the runResult property: The result of this task run.- Returns:
- the runResult value.
-
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.- Returns:
- the forceUpdateTag value.
-
withForceUpdateTag
public TaskRunInner withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.- Parameters:
forceUpdateTag- the forceUpdateTag value to set.- Returns:
- the TaskRunInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-