/sdk/appservice/mgmt-v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessInfoInner.java
http://github.com/WindowsAzure/azure-sdk-for-java · Java · 959 lines · 334 code · 111 blank · 514 comment · 0 complexity · a07334ac74fa9a910458eb0fe4591996 MD5 · raw file
- /**
- * 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.v2016_08_01.implementation;
- import java.util.List;
- import org.joda.time.DateTime;
- import java.util.Map;
- import com.fasterxml.jackson.annotation.JsonProperty;
- import com.microsoft.rest.serializer.JsonFlatten;
- import com.microsoft.azure.management.appservice.v2016_08_01.ProxyOnlyResource;
- /**
- * Process Information.
- */
- @JsonFlatten
- public class ProcessInfoInner extends ProxyOnlyResource {
- /**
- * ARM Identifier for deployment.
- */
- @JsonProperty(value = "properties.id")
- private Integer processInfoId;
- /**
- * Deployment name.
- */
- @JsonProperty(value = "properties.name")
- private String processInfoName;
- /**
- * HRef URI.
- */
- @JsonProperty(value = "properties.href")
- private String href;
- /**
- * Minidump URI.
- */
- @JsonProperty(value = "properties.miniDump")
- private String miniDump;
- /**
- * Is profile running?.
- */
- @JsonProperty(value = "properties.isProfileRunning")
- private Boolean isProfileRunning;
- /**
- * Is the IIS Profile running?.
- */
- @JsonProperty(value = "properties.isIisProfileRunning")
- private Boolean isIisProfileRunning;
- /**
- * IIS Profile timeout (seconds).
- */
- @JsonProperty(value = "properties.iisProfileTimeoutInSeconds")
- private Double iisProfileTimeoutInSeconds;
- /**
- * Parent process.
- */
- @JsonProperty(value = "properties.parent")
- private String parent;
- /**
- * Child process list.
- */
- @JsonProperty(value = "properties.children")
- private List<String> children;
- /**
- * Thread list.
- */
- @JsonProperty(value = "properties.threads")
- private List<ProcessThreadInfoInner> threads;
- /**
- * List of open files.
- */
- @JsonProperty(value = "properties.openFileHandles")
- private List<String> openFileHandles;
- /**
- * List of modules.
- */
- @JsonProperty(value = "properties.modules")
- private List<ProcessModuleInfoInner> modules;
- /**
- * File name of this process.
- */
- @JsonProperty(value = "properties.fileName")
- private String fileName;
- /**
- * Command line.
- */
- @JsonProperty(value = "properties.commandLine")
- private String commandLine;
- /**
- * User name.
- */
- @JsonProperty(value = "properties.userName")
- private String userName;
- /**
- * Handle count.
- */
- @JsonProperty(value = "properties.handleCount")
- private Integer handleCount;
- /**
- * Module count.
- */
- @JsonProperty(value = "properties.moduleCount")
- private Integer moduleCount;
- /**
- * Thread count.
- */
- @JsonProperty(value = "properties.threadCount")
- private Integer threadCount;
- /**
- * Start time.
- */
- @JsonProperty(value = "properties.startTime")
- private DateTime startTime;
- /**
- * Total CPU time.
- */
- @JsonProperty(value = "properties.totalProcessorTime")
- private String totalProcessorTime;
- /**
- * User CPU time.
- */
- @JsonProperty(value = "properties.userProcessorTime")
- private String userProcessorTime;
- /**
- * Privileged CPU time.
- */
- @JsonProperty(value = "properties.privilegedProcessorTime")
- private String privilegedProcessorTime;
- /**
- * Working set.
- */
- @JsonProperty(value = "properties.workingSet64")
- private Long workingSet64;
- /**
- * Peak working set.
- */
- @JsonProperty(value = "properties.peakWorkingSet64")
- private Long peakWorkingSet64;
- /**
- * Private memory size.
- */
- @JsonProperty(value = "properties.privateMemorySize64")
- private Long privateMemorySize64;
- /**
- * Virtual memory size.
- */
- @JsonProperty(value = "properties.virtualMemorySize64")
- private Long virtualMemorySize64;
- /**
- * Peak virtual memory usage.
- */
- @JsonProperty(value = "properties.peakVirtualMemorySize64")
- private Long peakVirtualMemorySize64;
- /**
- * Paged system memory.
- */
- @JsonProperty(value = "properties.pagedSystemMemorySize64")
- private Long pagedSystemMemorySize64;
- /**
- * Non-paged system memory.
- */
- @JsonProperty(value = "properties.nonpagedSystemMemorySize64")
- private Long nonpagedSystemMemorySize64;
- /**
- * Paged memory.
- */
- @JsonProperty(value = "properties.pagedMemorySize64")
- private Long pagedMemorySize64;
- /**
- * Peak paged memory.
- */
- @JsonProperty(value = "properties.peakPagedMemorySize64")
- private Long peakPagedMemorySize64;
- /**
- * Time stamp.
- */
- @JsonProperty(value = "properties.timeStamp")
- private DateTime timeStamp;
- /**
- * List of environment variables.
- */
- @JsonProperty(value = "properties.environmentVariables")
- private Map<String, String> environmentVariables;
- /**
- * Is this the SCM site?.
- */
- @JsonProperty(value = "properties.isScmSite")
- private Boolean isScmSite;
- /**
- * Is this a Web Job?.
- */
- @JsonProperty(value = "properties.isWebJob")
- private Boolean isWebJob;
- /**
- * Description of process.
- */
- @JsonProperty(value = "properties.description")
- private String description;
- /**
- * Get aRM Identifier for deployment.
- *
- * @return the processInfoId value
- */
- public Integer processInfoId() {
- return this.processInfoId;
- }
- /**
- * Set aRM Identifier for deployment.
- *
- * @param processInfoId the processInfoId value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withProcessInfoId(Integer processInfoId) {
- this.processInfoId = processInfoId;
- return this;
- }
- /**
- * Get deployment name.
- *
- * @return the processInfoName value
- */
- public String processInfoName() {
- return this.processInfoName;
- }
- /**
- * Set deployment name.
- *
- * @param processInfoName the processInfoName value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withProcessInfoName(String processInfoName) {
- this.processInfoName = processInfoName;
- return this;
- }
- /**
- * Get hRef URI.
- *
- * @return the href value
- */
- public String href() {
- return this.href;
- }
- /**
- * Set hRef URI.
- *
- * @param href the href value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withHref(String href) {
- this.href = href;
- return this;
- }
- /**
- * Get minidump URI.
- *
- * @return the miniDump value
- */
- public String miniDump() {
- return this.miniDump;
- }
- /**
- * Set minidump URI.
- *
- * @param miniDump the miniDump value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withMiniDump(String miniDump) {
- this.miniDump = miniDump;
- return this;
- }
- /**
- * Get is profile running?.
- *
- * @return the isProfileRunning value
- */
- public Boolean isProfileRunning() {
- return this.isProfileRunning;
- }
- /**
- * Set is profile running?.
- *
- * @param isProfileRunning the isProfileRunning value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withIsProfileRunning(Boolean isProfileRunning) {
- this.isProfileRunning = isProfileRunning;
- return this;
- }
- /**
- * Get is the IIS Profile running?.
- *
- * @return the isIisProfileRunning value
- */
- public Boolean isIisProfileRunning() {
- return this.isIisProfileRunning;
- }
- /**
- * Set is the IIS Profile running?.
- *
- * @param isIisProfileRunning the isIisProfileRunning value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withIsIisProfileRunning(Boolean isIisProfileRunning) {
- this.isIisProfileRunning = isIisProfileRunning;
- return this;
- }
- /**
- * Get iIS Profile timeout (seconds).
- *
- * @return the iisProfileTimeoutInSeconds value
- */
- public Double iisProfileTimeoutInSeconds() {
- return this.iisProfileTimeoutInSeconds;
- }
- /**
- * Set iIS Profile timeout (seconds).
- *
- * @param iisProfileTimeoutInSeconds the iisProfileTimeoutInSeconds value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withIisProfileTimeoutInSeconds(Double iisProfileTimeoutInSeconds) {
- this.iisProfileTimeoutInSeconds = iisProfileTimeoutInSeconds;
- return this;
- }
- /**
- * Get parent process.
- *
- * @return the parent value
- */
- public String parent() {
- return this.parent;
- }
- /**
- * Set parent process.
- *
- * @param parent the parent value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withParent(String parent) {
- this.parent = parent;
- return this;
- }
- /**
- * Get child process list.
- *
- * @return the children value
- */
- public List<String> children() {
- return this.children;
- }
- /**
- * Set child process list.
- *
- * @param children the children value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withChildren(List<String> children) {
- this.children = children;
- return this;
- }
- /**
- * Get thread list.
- *
- * @return the threads value
- */
- public List<ProcessThreadInfoInner> threads() {
- return this.threads;
- }
- /**
- * Set thread list.
- *
- * @param threads the threads value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withThreads(List<ProcessThreadInfoInner> threads) {
- this.threads = threads;
- return this;
- }
- /**
- * Get list of open files.
- *
- * @return the openFileHandles value
- */
- public List<String> openFileHandles() {
- return this.openFileHandles;
- }
- /**
- * Set list of open files.
- *
- * @param openFileHandles the openFileHandles value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withOpenFileHandles(List<String> openFileHandles) {
- this.openFileHandles = openFileHandles;
- return this;
- }
- /**
- * Get list of modules.
- *
- * @return the modules value
- */
- public List<ProcessModuleInfoInner> modules() {
- return this.modules;
- }
- /**
- * Set list of modules.
- *
- * @param modules the modules value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withModules(List<ProcessModuleInfoInner> modules) {
- this.modules = modules;
- return this;
- }
- /**
- * Get file name of this process.
- *
- * @return the fileName value
- */
- public String fileName() {
- return this.fileName;
- }
- /**
- * Set file name of this process.
- *
- * @param fileName the fileName value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withFileName(String fileName) {
- this.fileName = fileName;
- return this;
- }
- /**
- * Get command line.
- *
- * @return the commandLine value
- */
- public String commandLine() {
- return this.commandLine;
- }
- /**
- * Set command line.
- *
- * @param commandLine the commandLine value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withCommandLine(String commandLine) {
- this.commandLine = commandLine;
- return this;
- }
- /**
- * Get user name.
- *
- * @return the userName value
- */
- public String userName() {
- return this.userName;
- }
- /**
- * Set user name.
- *
- * @param userName the userName value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withUserName(String userName) {
- this.userName = userName;
- return this;
- }
- /**
- * Get handle count.
- *
- * @return the handleCount value
- */
- public Integer handleCount() {
- return this.handleCount;
- }
- /**
- * Set handle count.
- *
- * @param handleCount the handleCount value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withHandleCount(Integer handleCount) {
- this.handleCount = handleCount;
- return this;
- }
- /**
- * Get module count.
- *
- * @return the moduleCount value
- */
- public Integer moduleCount() {
- return this.moduleCount;
- }
- /**
- * Set module count.
- *
- * @param moduleCount the moduleCount value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withModuleCount(Integer moduleCount) {
- this.moduleCount = moduleCount;
- return this;
- }
- /**
- * Get thread count.
- *
- * @return the threadCount value
- */
- public Integer threadCount() {
- return this.threadCount;
- }
- /**
- * Set thread count.
- *
- * @param threadCount the threadCount value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withThreadCount(Integer threadCount) {
- this.threadCount = threadCount;
- return this;
- }
- /**
- * Get start time.
- *
- * @return the startTime value
- */
- public DateTime startTime() {
- return this.startTime;
- }
- /**
- * Set start time.
- *
- * @param startTime the startTime value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withStartTime(DateTime startTime) {
- this.startTime = startTime;
- return this;
- }
- /**
- * Get total CPU time.
- *
- * @return the totalProcessorTime value
- */
- public String totalProcessorTime() {
- return this.totalProcessorTime;
- }
- /**
- * Set total CPU time.
- *
- * @param totalProcessorTime the totalProcessorTime value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withTotalProcessorTime(String totalProcessorTime) {
- this.totalProcessorTime = totalProcessorTime;
- return this;
- }
- /**
- * Get user CPU time.
- *
- * @return the userProcessorTime value
- */
- public String userProcessorTime() {
- return this.userProcessorTime;
- }
- /**
- * Set user CPU time.
- *
- * @param userProcessorTime the userProcessorTime value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withUserProcessorTime(String userProcessorTime) {
- this.userProcessorTime = userProcessorTime;
- return this;
- }
- /**
- * Get privileged CPU time.
- *
- * @return the privilegedProcessorTime value
- */
- public String privilegedProcessorTime() {
- return this.privilegedProcessorTime;
- }
- /**
- * Set privileged CPU time.
- *
- * @param privilegedProcessorTime the privilegedProcessorTime value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPrivilegedProcessorTime(String privilegedProcessorTime) {
- this.privilegedProcessorTime = privilegedProcessorTime;
- return this;
- }
- /**
- * Get working set.
- *
- * @return the workingSet64 value
- */
- public Long workingSet64() {
- return this.workingSet64;
- }
- /**
- * Set working set.
- *
- * @param workingSet64 the workingSet64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withWorkingSet64(Long workingSet64) {
- this.workingSet64 = workingSet64;
- return this;
- }
- /**
- * Get peak working set.
- *
- * @return the peakWorkingSet64 value
- */
- public Long peakWorkingSet64() {
- return this.peakWorkingSet64;
- }
- /**
- * Set peak working set.
- *
- * @param peakWorkingSet64 the peakWorkingSet64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakWorkingSet64(Long peakWorkingSet64) {
- this.peakWorkingSet64 = peakWorkingSet64;
- return this;
- }
- /**
- * Get private memory size.
- *
- * @return the privateMemorySize64 value
- */
- public Long privateMemorySize64() {
- return this.privateMemorySize64;
- }
- /**
- * Set private memory size.
- *
- * @param privateMemorySize64 the privateMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPrivateMemorySize64(Long privateMemorySize64) {
- this.privateMemorySize64 = privateMemorySize64;
- return this;
- }
- /**
- * Get virtual memory size.
- *
- * @return the virtualMemorySize64 value
- */
- public Long virtualMemorySize64() {
- return this.virtualMemorySize64;
- }
- /**
- * Set virtual memory size.
- *
- * @param virtualMemorySize64 the virtualMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withVirtualMemorySize64(Long virtualMemorySize64) {
- this.virtualMemorySize64 = virtualMemorySize64;
- return this;
- }
- /**
- * Get peak virtual memory usage.
- *
- * @return the peakVirtualMemorySize64 value
- */
- public Long peakVirtualMemorySize64() {
- return this.peakVirtualMemorySize64;
- }
- /**
- * Set peak virtual memory usage.
- *
- * @param peakVirtualMemorySize64 the peakVirtualMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakVirtualMemorySize64(Long peakVirtualMemorySize64) {
- this.peakVirtualMemorySize64 = peakVirtualMemorySize64;
- return this;
- }
- /**
- * Get paged system memory.
- *
- * @return the pagedSystemMemorySize64 value
- */
- public Long pagedSystemMemorySize64() {
- return this.pagedSystemMemorySize64;
- }
- /**
- * Set paged system memory.
- *
- * @param pagedSystemMemorySize64 the pagedSystemMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPagedSystemMemorySize64(Long pagedSystemMemorySize64) {
- this.pagedSystemMemorySize64 = pagedSystemMemorySize64;
- return this;
- }
- /**
- * Get non-paged system memory.
- *
- * @return the nonpagedSystemMemorySize64 value
- */
- public Long nonpagedSystemMemorySize64() {
- return this.nonpagedSystemMemorySize64;
- }
- /**
- * Set non-paged system memory.
- *
- * @param nonpagedSystemMemorySize64 the nonpagedSystemMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withNonpagedSystemMemorySize64(Long nonpagedSystemMemorySize64) {
- this.nonpagedSystemMemorySize64 = nonpagedSystemMemorySize64;
- return this;
- }
- /**
- * Get paged memory.
- *
- * @return the pagedMemorySize64 value
- */
- public Long pagedMemorySize64() {
- return this.pagedMemorySize64;
- }
- /**
- * Set paged memory.
- *
- * @param pagedMemorySize64 the pagedMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPagedMemorySize64(Long pagedMemorySize64) {
- this.pagedMemorySize64 = pagedMemorySize64;
- return this;
- }
- /**
- * Get peak paged memory.
- *
- * @return the peakPagedMemorySize64 value
- */
- public Long peakPagedMemorySize64() {
- return this.peakPagedMemorySize64;
- }
- /**
- * Set peak paged memory.
- *
- * @param peakPagedMemorySize64 the peakPagedMemorySize64 value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakPagedMemorySize64(Long peakPagedMemorySize64) {
- this.peakPagedMemorySize64 = peakPagedMemorySize64;
- return this;
- }
- /**
- * Get time stamp.
- *
- * @return the timeStamp value
- */
- public DateTime timeStamp() {
- return this.timeStamp;
- }
- /**
- * Set time stamp.
- *
- * @param timeStamp the timeStamp value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withTimeStamp(DateTime timeStamp) {
- this.timeStamp = timeStamp;
- return this;
- }
- /**
- * Get list of environment variables.
- *
- * @return the environmentVariables value
- */
- public Map<String, String> environmentVariables() {
- return this.environmentVariables;
- }
- /**
- * Set list of environment variables.
- *
- * @param environmentVariables the environmentVariables value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withEnvironmentVariables(Map<String, String> environmentVariables) {
- this.environmentVariables = environmentVariables;
- return this;
- }
- /**
- * Get is this the SCM site?.
- *
- * @return the isScmSite value
- */
- public Boolean isScmSite() {
- return this.isScmSite;
- }
- /**
- * Set is this the SCM site?.
- *
- * @param isScmSite the isScmSite value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withIsScmSite(Boolean isScmSite) {
- this.isScmSite = isScmSite;
- return this;
- }
- /**
- * Get is this a Web Job?.
- *
- * @return the isWebJob value
- */
- public Boolean isWebJob() {
- return this.isWebJob;
- }
- /**
- * Set is this a Web Job?.
- *
- * @param isWebJob the isWebJob value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withIsWebJob(Boolean isWebJob) {
- this.isWebJob = isWebJob;
- return this;
- }
- /**
- * Get description of process.
- *
- * @return the description value
- */
- public String description() {
- return this.description;
- }
- /**
- * Set description of process.
- *
- * @param description the description value to set
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withDescription(String description) {
- this.description = description;
- return this;
- }
- }