Class ProcessThreadInfoProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.ProcessThreadInfoProperties
-
public final class ProcessThreadInfoProperties extends Object
ProcessThreadInfo resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description ProcessThreadInfoProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerbasePriority()Get the basePriority property: Base priority.IntegercurrentPriority()Get the currentPriority property: Current thread priority.Stringhref()Get the href property: HRef URI.Integeridentifier()Get the identifier property: Site extension ID.StringpriorityLevel()Get the priorityLevel property: Thread priority level.Stringprocess()Get the process property: Process URI.StringstartAddress()Get the startAddress property: Start address.OffsetDateTimestartTime()Get the startTime property: Start time.Stringstate()Get the state property: Thread state.StringtotalProcessorTime()Get the totalProcessorTime property: Total processor time.StringuserProcessorTime()Get the userProcessorTime property: User processor time.voidvalidate()Validates the instance.StringwaitReason()Get the waitReason property: Wait reason.ProcessThreadInfoPropertieswithBasePriority(Integer basePriority)Set the basePriority property: Base priority.ProcessThreadInfoPropertieswithCurrentPriority(Integer currentPriority)Set the currentPriority property: Current thread priority.ProcessThreadInfoPropertieswithHref(String href)Set the href property: HRef URI.ProcessThreadInfoPropertieswithPriorityLevel(String priorityLevel)Set the priorityLevel property: Thread priority level.ProcessThreadInfoPropertieswithProcess(String process)Set the process property: Process URI.ProcessThreadInfoPropertieswithStartAddress(String startAddress)Set the startAddress property: Start address.ProcessThreadInfoPropertieswithStartTime(OffsetDateTime startTime)Set the startTime property: Start time.ProcessThreadInfoPropertieswithState(String state)Set the state property: Thread state.ProcessThreadInfoPropertieswithTotalProcessorTime(String totalProcessorTime)Set the totalProcessorTime property: Total processor time.ProcessThreadInfoPropertieswithUserProcessorTime(String userProcessorTime)Set the userProcessorTime property: User processor time.ProcessThreadInfoPropertieswithWaitReason(String waitReason)Set the waitReason property: Wait reason.
-
-
-
Method Detail
-
identifier
public Integer identifier()
Get the identifier property: Site extension ID.- Returns:
- the identifier value.
-
href
public String href()
Get the href property: HRef URI.- Returns:
- the href value.
-
withHref
public ProcessThreadInfoProperties withHref(String href)
Set the href property: HRef URI.- Parameters:
href- the href value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
process
public String process()
Get the process property: Process URI.- Returns:
- the process value.
-
withProcess
public ProcessThreadInfoProperties withProcess(String process)
Set the process property: Process URI.- Parameters:
process- the process value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
startAddress
public String startAddress()
Get the startAddress property: Start address.- Returns:
- the startAddress value.
-
withStartAddress
public ProcessThreadInfoProperties withStartAddress(String startAddress)
Set the startAddress property: Start address.- Parameters:
startAddress- the startAddress value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
currentPriority
public Integer currentPriority()
Get the currentPriority property: Current thread priority.- Returns:
- the currentPriority value.
-
withCurrentPriority
public ProcessThreadInfoProperties withCurrentPriority(Integer currentPriority)
Set the currentPriority property: Current thread priority.- Parameters:
currentPriority- the currentPriority value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
priorityLevel
public String priorityLevel()
Get the priorityLevel property: Thread priority level.- Returns:
- the priorityLevel value.
-
withPriorityLevel
public ProcessThreadInfoProperties withPriorityLevel(String priorityLevel)
Set the priorityLevel property: Thread priority level.- Parameters:
priorityLevel- the priorityLevel value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
basePriority
public Integer basePriority()
Get the basePriority property: Base priority.- Returns:
- the basePriority value.
-
withBasePriority
public ProcessThreadInfoProperties withBasePriority(Integer basePriority)
Set the basePriority property: Base priority.- Parameters:
basePriority- the basePriority value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time.- Returns:
- the startTime value.
-
withStartTime
public ProcessThreadInfoProperties withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.- Parameters:
startTime- the startTime value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
totalProcessorTime
public String totalProcessorTime()
Get the totalProcessorTime property: Total processor time.- Returns:
- the totalProcessorTime value.
-
withTotalProcessorTime
public ProcessThreadInfoProperties withTotalProcessorTime(String totalProcessorTime)
Set the totalProcessorTime property: Total processor time.- Parameters:
totalProcessorTime- the totalProcessorTime value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
userProcessorTime
public String userProcessorTime()
Get the userProcessorTime property: User processor time.- Returns:
- the userProcessorTime value.
-
withUserProcessorTime
public ProcessThreadInfoProperties withUserProcessorTime(String userProcessorTime)
Set the userProcessorTime property: User processor time.- Parameters:
userProcessorTime- the userProcessorTime value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
state
public String state()
Get the state property: Thread state.- Returns:
- the state value.
-
withState
public ProcessThreadInfoProperties withState(String state)
Set the state property: Thread state.- Parameters:
state- the state value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
waitReason
public String waitReason()
Get the waitReason property: Wait reason.- Returns:
- the waitReason value.
-
withWaitReason
public ProcessThreadInfoProperties withWaitReason(String waitReason)
Set the waitReason property: Wait reason.- Parameters:
waitReason- the waitReason value to set.- Returns:
- the ProcessThreadInfoProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-