Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Process Thread Information.
/**
* Process Thread Information.
*/
@JsonFlatten
public class ProcessThreadInfoInner extends ProxyOnlyResource {
Site extension ID.
/**
* Site extension ID.
*/
@JsonProperty(value = "properties.identifier", access = JsonProperty.Access.WRITE_ONLY)
private Integer identifier;
HRef URI.
/**
* HRef URI.
*/
@JsonProperty(value = "properties.href")
private String href;
Process URI.
/**
* Process URI.
*/
@JsonProperty(value = "properties.process")
private String process;
Start address.
/**
* Start address.
*/
@JsonProperty(value = "properties.start_address")
private String startAddress;
Current thread priority.
/**
* Current thread priority.
*/
@JsonProperty(value = "properties.current_priority")
private Integer currentPriority;
Thread priority level.
/**
* Thread priority level.
*/
@JsonProperty(value = "properties.priority_level")
private String priorityLevel;
Base priority.
/**
* Base priority.
*/
@JsonProperty(value = "properties.base_priority")
private Integer basePriority;
Start time.
/**
* Start time.
*/
@JsonProperty(value = "properties.start_time")
private DateTime startTime;
Total processor time.
/**
* Total processor time.
*/
@JsonProperty(value = "properties.total_processor_time")
private String totalProcessorTime;
User processor time.
/**
* User processor time.
*/
@JsonProperty(value = "properties.user_processor_time")
private String userProcessorTime;
Thread state.
/**
* Thread state.
*/
@JsonProperty(value = "properties.state")
private String state;
Wait reason.
/**
* Wait reason.
*/
@JsonProperty(value = "properties.wait_reason")
private String waitReason;
Get site extension ID.
Returns: the identifier value
/**
* Get site extension ID.
*
* @return the identifier value
*/
public Integer identifier() {
return this.identifier;
}
Get hRef URI.
Returns: the href value
/**
* Get hRef URI.
*
* @return the href value
*/
public String href() {
return this.href;
}
Set hRef URI.
Params: - href – the href value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set hRef URI.
*
* @param href the href value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withHref(String href) {
this.href = href;
return this;
}
Get process URI.
Returns: the process value
/**
* Get process URI.
*
* @return the process value
*/
public String process() {
return this.process;
}
Set process URI.
Params: - process – the process value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set process URI.
*
* @param process the process value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withProcess(String process) {
this.process = process;
return this;
}
Get start address.
Returns: the startAddress value
/**
* Get start address.
*
* @return the startAddress value
*/
public String startAddress() {
return this.startAddress;
}
Set start address.
Params: - startAddress – the startAddress value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set start address.
*
* @param startAddress the startAddress value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withStartAddress(String startAddress) {
this.startAddress = startAddress;
return this;
}
Get current thread priority.
Returns: the currentPriority value
/**
* Get current thread priority.
*
* @return the currentPriority value
*/
public Integer currentPriority() {
return this.currentPriority;
}
Set current thread priority.
Params: - currentPriority – the currentPriority value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set current thread priority.
*
* @param currentPriority the currentPriority value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withCurrentPriority(Integer currentPriority) {
this.currentPriority = currentPriority;
return this;
}
Get thread priority level.
Returns: the priorityLevel value
/**
* Get thread priority level.
*
* @return the priorityLevel value
*/
public String priorityLevel() {
return this.priorityLevel;
}
Set thread priority level.
Params: - priorityLevel – the priorityLevel value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set thread priority level.
*
* @param priorityLevel the priorityLevel value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withPriorityLevel(String priorityLevel) {
this.priorityLevel = priorityLevel;
return this;
}
Get base priority.
Returns: the basePriority value
/**
* Get base priority.
*
* @return the basePriority value
*/
public Integer basePriority() {
return this.basePriority;
}
Set base priority.
Params: - basePriority – the basePriority value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set base priority.
*
* @param basePriority the basePriority value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withBasePriority(Integer basePriority) {
this.basePriority = basePriority;
return this;
}
Get start time.
Returns: the startTime value
/**
* Get start time.
*
* @return the startTime value
*/
public DateTime startTime() {
return this.startTime;
}
Set start time.
Params: - startTime – the startTime value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set start time.
*
* @param startTime the startTime value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withStartTime(DateTime startTime) {
this.startTime = startTime;
return this;
}
Get total processor time.
Returns: the totalProcessorTime value
/**
* Get total processor time.
*
* @return the totalProcessorTime value
*/
public String totalProcessorTime() {
return this.totalProcessorTime;
}
Set total processor time.
Params: - totalProcessorTime – the totalProcessorTime value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set total processor time.
*
* @param totalProcessorTime the totalProcessorTime value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withTotalProcessorTime(String totalProcessorTime) {
this.totalProcessorTime = totalProcessorTime;
return this;
}
Get user processor time.
Returns: the userProcessorTime value
/**
* Get user processor time.
*
* @return the userProcessorTime value
*/
public String userProcessorTime() {
return this.userProcessorTime;
}
Set user processor time.
Params: - userProcessorTime – the userProcessorTime value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set user processor time.
*
* @param userProcessorTime the userProcessorTime value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime) {
this.userProcessorTime = userProcessorTime;
return this;
}
Get thread state.
Returns: the state value
/**
* Get thread state.
*
* @return the state value
*/
public String state() {
return this.state;
}
Set thread state.
Params: - state – the state value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set thread state.
*
* @param state the state value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withState(String state) {
this.state = state;
return this;
}
Get wait reason.
Returns: the waitReason value
/**
* Get wait reason.
*
* @return the waitReason value
*/
public String waitReason() {
return this.waitReason;
}
Set wait reason.
Params: - waitReason – the waitReason value to set
Returns: the ProcessThreadInfoInner object itself.
/**
* Set wait reason.
*
* @param waitReason the waitReason value to set
* @return the ProcessThreadInfoInner object itself.
*/
public ProcessThreadInfoInner withWaitReason(String waitReason) {
this.waitReason = waitReason;
return this;
}
}