ImageTemplateLastRunStatus Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. ImageTemplateLastRunStatus
- com.
public final class ImageTemplateLastRunStatus
Describes the latest status of running an image template.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageTemplateLastRunStatus() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
| String |
message()
Get the message property: Verbose information about the last run state. |
|
Run |
runState()
Get the run |
|
Run |
runSubState()
Get the run |
|
Offset |
startTime()
Get the start |
| void |
validate()
Validates the instance. |
|
Image |
withEndTime(OffsetDateTime endTime)
Set the end |
|
Image |
withMessage(String message)
Set the message property: Verbose information about the last run state. |
|
Image |
withRunState(RunState runState)
Set the run |
|
Image |
withRunSubState(RunSubState runSubState)
Set the run |
|
Image |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
ImageTemplateLastRunStatus
public ImageTemplateLastRunStatus()
Creates an instance of ImageTemplateLastRunStatus class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the last run (UTC).
Returns:
message
public String message()
Get the message property: Verbose information about the last run state.
Returns:
runState
public RunState runState()
Get the runState property: State of the last run.
Returns:
runSubState
public RunSubState runSubState()
Get the runSubState property: Sub-state of the last run.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the last run (UTC).
Returns:
validate
public void validate()
Validates the instance.
withEndTime
public ImageTemplateLastRunStatus withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the last run (UTC).
Parameters:
Returns:
withMessage
public ImageTemplateLastRunStatus withMessage(String message)
Set the message property: Verbose information about the last run state.
Parameters:
Returns:
withRunState
public ImageTemplateLastRunStatus withRunState(RunState runState)
Set the runState property: State of the last run.
Parameters:
Returns:
withRunSubState
public ImageTemplateLastRunStatus withRunSubState(RunSubState runSubState)
Set the runSubState property: Sub-state of the last run.
Parameters:
Returns:
withStartTime
public ImageTemplateLastRunStatus withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the last run (UTC).
Parameters:
Returns: