Class ProcessThreadInfoInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.ProcessThreadInfoInner
-
public final class ProcessThreadInfoInner extends ProxyOnlyResource
Process Thread Information.
-
-
Constructor Summary
Constructors Constructor Description ProcessThreadInfoInner()
-
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.ProcessThreadInfoInnerwithBasePriority(Integer basePriority)Set the basePriority property: Base priority.ProcessThreadInfoInnerwithCurrentPriority(Integer currentPriority)Set the currentPriority property: Current thread priority.ProcessThreadInfoInnerwithHref(String href)Set the href property: HRef URI.ProcessThreadInfoInnerwithKind(String kind)Set the kind property: Kind of resource.ProcessThreadInfoInnerwithPriorityLevel(String priorityLevel)Set the priorityLevel property: Thread priority level.ProcessThreadInfoInnerwithProcess(String process)Set the process property: Process URI.ProcessThreadInfoInnerwithStartAddress(String startAddress)Set the startAddress property: Start address.ProcessThreadInfoInnerwithStartTime(OffsetDateTime startTime)Set the startTime property: Start time.ProcessThreadInfoInnerwithState(String state)Set the state property: Thread state.ProcessThreadInfoInnerwithTotalProcessorTime(String totalProcessorTime)Set the totalProcessorTime property: Total processor time.ProcessThreadInfoInnerwithUserProcessorTime(String userProcessorTime)Set the userProcessorTime property: User processor time.ProcessThreadInfoInnerwithWaitReason(String waitReason)Set the waitReason property: Wait reason.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public ProcessThreadInfoInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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 ProcessThreadInfoInner withHref(String href)
Set the href property: HRef URI.- Parameters:
href- the href value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
process
public String process()
Get the process property: Process URI.- Returns:
- the process value.
-
withProcess
public ProcessThreadInfoInner withProcess(String process)
Set the process property: Process URI.- Parameters:
process- the process value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
startAddress
public String startAddress()
Get the startAddress property: Start address.- Returns:
- the startAddress value.
-
withStartAddress
public ProcessThreadInfoInner withStartAddress(String startAddress)
Set the startAddress property: Start address.- Parameters:
startAddress- the startAddress value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
currentPriority
public Integer currentPriority()
Get the currentPriority property: Current thread priority.- Returns:
- the currentPriority value.
-
withCurrentPriority
public ProcessThreadInfoInner withCurrentPriority(Integer currentPriority)
Set the currentPriority property: Current thread priority.- Parameters:
currentPriority- the currentPriority value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
priorityLevel
public String priorityLevel()
Get the priorityLevel property: Thread priority level.- Returns:
- the priorityLevel value.
-
withPriorityLevel
public ProcessThreadInfoInner withPriorityLevel(String priorityLevel)
Set the priorityLevel property: Thread priority level.- Parameters:
priorityLevel- the priorityLevel value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
basePriority
public Integer basePriority()
Get the basePriority property: Base priority.- Returns:
- the basePriority value.
-
withBasePriority
public ProcessThreadInfoInner withBasePriority(Integer basePriority)
Set the basePriority property: Base priority.- Parameters:
basePriority- the basePriority value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time.- Returns:
- the startTime value.
-
withStartTime
public ProcessThreadInfoInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.- Parameters:
startTime- the startTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
totalProcessorTime
public String totalProcessorTime()
Get the totalProcessorTime property: Total processor time.- Returns:
- the totalProcessorTime value.
-
withTotalProcessorTime
public ProcessThreadInfoInner withTotalProcessorTime(String totalProcessorTime)
Set the totalProcessorTime property: Total processor time.- Parameters:
totalProcessorTime- the totalProcessorTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
userProcessorTime
public String userProcessorTime()
Get the userProcessorTime property: User processor time.- Returns:
- the userProcessorTime value.
-
withUserProcessorTime
public ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime)
Set the userProcessorTime property: User processor time.- Parameters:
userProcessorTime- the userProcessorTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
state
public String state()
Get the state property: Thread state.- Returns:
- the state value.
-
withState
public ProcessThreadInfoInner withState(String state)
Set the state property: Thread state.- Parameters:
state- the state value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
waitReason
public String waitReason()
Get the waitReason property: Wait reason.- Returns:
- the waitReason value.
-
withWaitReason
public ProcessThreadInfoInner withWaitReason(String waitReason)
Set the waitReason property: Wait reason.- Parameters:
waitReason- the waitReason value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-