Class ProcessThreadInfoInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.ProcessThreadInfoInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Process Thread Information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ProcessThreadInfoInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the basePriority property: Base priority.Get the currentPriority property: Current thread priority.static ProcessThreadInfoInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ProcessThreadInfoInner from the JsonReader.href()
Get the href property: HRef URI.id()
Get the id property: Fully qualified resource Id for the resource.Get the identifier property: Site extension ID.name()
Get the name property: The name of the resource.Get the priorityLevel property: Thread priority level.process()
Get the process property: Process URI.Get the startAddress property: Start address.Get the startTime property: Start time.state()
Get the state property: Thread state.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalProcessorTime property: Total processor time.type()
Get the type property: The type of the resource.Get the userProcessorTime property: User processor time.void
validate()
Validates the instance.Get the waitReason property: Wait reason.withBasePriority
(Integer basePriority) Set the basePriority property: Base priority.withCurrentPriority
(Integer currentPriority) Set the currentPriority property: Current thread priority.Set the href property: HRef URI.Set the kind property: Kind of resource.withPriorityLevel
(String priorityLevel) Set the priorityLevel property: Thread priority level.withProcess
(String process) Set the process property: Process URI.withStartAddress
(String startAddress) Set the startAddress property: Start address.withStartTime
(OffsetDateTime startTime) Set the startTime property: Start time.Set the state property: Thread state.withTotalProcessorTime
(String totalProcessorTime) Set the totalProcessorTime property: Total processor time.withUserProcessorTime
(String userProcessorTime) Set the userProcessorTime property: User processor time.withWaitReason
(String waitReason) Set the waitReason property: Wait reason.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ProcessThreadInfoInner
public ProcessThreadInfoInner()Creates an instance of ProcessThreadInfoInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classProxyOnlyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classProxyOnlyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classProxyOnlyResource
- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
identifier
Get the identifier property: Site extension ID.- Returns:
- the identifier value.
-
href
Get the href property: HRef URI.- Returns:
- the href value.
-
withHref
Set the href property: HRef URI.- Parameters:
href
- the href value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
process
Get the process property: Process URI.- Returns:
- the process value.
-
withProcess
Set the process property: Process URI.- Parameters:
process
- the process value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
startAddress
Get the startAddress property: Start address.- Returns:
- the startAddress value.
-
withStartAddress
Set the startAddress property: Start address.- Parameters:
startAddress
- the startAddress value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
currentPriority
Get the currentPriority property: Current thread priority.- Returns:
- the currentPriority value.
-
withCurrentPriority
Set the currentPriority property: Current thread priority.- Parameters:
currentPriority
- the currentPriority value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
priorityLevel
Get the priorityLevel property: Thread priority level.- Returns:
- the priorityLevel value.
-
withPriorityLevel
Set the priorityLevel property: Thread priority level.- Parameters:
priorityLevel
- the priorityLevel value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
basePriority
Get the basePriority property: Base priority.- Returns:
- the basePriority value.
-
withBasePriority
Set the basePriority property: Base priority.- Parameters:
basePriority
- the basePriority value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
startTime
Get the startTime property: Start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
totalProcessorTime
Get the totalProcessorTime property: Total processor time.- Returns:
- the totalProcessorTime value.
-
withTotalProcessorTime
Set the totalProcessorTime property: Total processor time.- Parameters:
totalProcessorTime
- the totalProcessorTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
userProcessorTime
Get the userProcessorTime property: User processor time.- Returns:
- the userProcessorTime value.
-
withUserProcessorTime
Set the userProcessorTime property: User processor time.- Parameters:
userProcessorTime
- the userProcessorTime value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
state
Get the state property: Thread state.- Returns:
- the state value.
-
withState
Set the state property: Thread state.- Parameters:
state
- the state value to set.- Returns:
- the ProcessThreadInfoInner object itself.
-
waitReason
Get the waitReason property: Wait reason.- Returns:
- the waitReason value.
-
withWaitReason
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:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classProxyOnlyResource
- Throws:
IOException
-
fromJson
public static ProcessThreadInfoInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ProcessThreadInfoInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ProcessThreadInfoInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the ProcessThreadInfoInner.
-