/sdk/appservice/mgmt/src/main/java/com/azure/management/appservice/models/ProcessInfoInner.java
http://github.com/WindowsAzure/azure-sdk-for-java · Java · 943 lines · 332 code · 109 blank · 502 comment · 0 complexity · a3a35621511e097a49cc2a2452887e10 MD5 · raw file
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // Licensed under the MIT License.
- // Code generated by Microsoft (R) AutoRest Code Generator.
- package com.azure.management.appservice.models;
- import com.azure.core.annotation.Fluent;
- import com.azure.core.annotation.JsonFlatten;
- import com.azure.management.appservice.ProxyOnlyResource;
- import com.fasterxml.jackson.annotation.JsonProperty;
- import java.time.OffsetDateTime;
- import java.util.List;
- import java.util.Map;
- /** The ProcessInfo model. */
- @JsonFlatten
- @Fluent
- public class ProcessInfoInner extends ProxyOnlyResource {
- /*
- * ARM Identifier for deployment.
- */
- @JsonProperty(value = "properties.identifier", access = JsonProperty.Access.WRITE_ONLY)
- private Integer identifier;
- /*
- * Deployment name.
- */
- @JsonProperty(value = "properties.deployment_name")
- private String deploymentName;
- /*
- * HRef URI.
- */
- @JsonProperty(value = "properties.href")
- private String href;
- /*
- * Minidump URI.
- */
- @JsonProperty(value = "properties.minidump")
- private String minidump;
- /*
- * Is profile running?
- */
- @JsonProperty(value = "properties.is_profile_running")
- private Boolean isProfileRunning;
- /*
- * Is the IIS Profile running?
- */
- @JsonProperty(value = "properties.is_iis_profile_running")
- private Boolean isIisProfileRunning;
- /*
- * IIS Profile timeout (seconds).
- */
- @JsonProperty(value = "properties.iis_profile_timeout_in_seconds")
- 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.open_file_handles")
- private List<String> openFileHandles;
- /*
- * List of modules.
- */
- @JsonProperty(value = "properties.modules")
- private List<ProcessModuleInfoInner> modules;
- /*
- * File name of this process.
- */
- @JsonProperty(value = "properties.file_name")
- private String fileName;
- /*
- * Command line.
- */
- @JsonProperty(value = "properties.command_line")
- private String commandLine;
- /*
- * User name.
- */
- @JsonProperty(value = "properties.user_name")
- private String userName;
- /*
- * Handle count.
- */
- @JsonProperty(value = "properties.handle_count")
- private Integer handleCount;
- /*
- * Module count.
- */
- @JsonProperty(value = "properties.module_count")
- private Integer moduleCount;
- /*
- * Thread count.
- */
- @JsonProperty(value = "properties.thread_count")
- private Integer threadCount;
- /*
- * Start time.
- */
- @JsonProperty(value = "properties.start_time")
- private OffsetDateTime startTime;
- /*
- * Total CPU time.
- */
- @JsonProperty(value = "properties.total_cpu_time")
- private String totalCpuTime;
- /*
- * User CPU time.
- */
- @JsonProperty(value = "properties.user_cpu_time")
- private String userCpuTime;
- /*
- * Privileged CPU time.
- */
- @JsonProperty(value = "properties.privileged_cpu_time")
- private String privilegedCpuTime;
- /*
- * Working set.
- */
- @JsonProperty(value = "properties.working_set")
- private Long workingSet;
- /*
- * Peak working set.
- */
- @JsonProperty(value = "properties.peak_working_set")
- private Long peakWorkingSet;
- /*
- * Private memory size.
- */
- @JsonProperty(value = "properties.private_memory")
- private Long privateMemory;
- /*
- * Virtual memory size.
- */
- @JsonProperty(value = "properties.virtual_memory")
- private Long virtualMemory;
- /*
- * Peak virtual memory usage.
- */
- @JsonProperty(value = "properties.peak_virtual_memory")
- private Long peakVirtualMemory;
- /*
- * Paged system memory.
- */
- @JsonProperty(value = "properties.paged_system_memory")
- private Long pagedSystemMemory;
- /*
- * Non-paged system memory.
- */
- @JsonProperty(value = "properties.non_paged_system_memory")
- private Long nonPagedSystemMemory;
- /*
- * Paged memory.
- */
- @JsonProperty(value = "properties.paged_memory")
- private Long pagedMemory;
- /*
- * Peak paged memory.
- */
- @JsonProperty(value = "properties.peak_paged_memory")
- private Long peakPagedMemory;
- /*
- * Time stamp.
- */
- @JsonProperty(value = "properties.time_stamp")
- private OffsetDateTime timeStamp;
- /*
- * List of environment variables.
- */
- @JsonProperty(value = "properties.environment_variables")
- private Map<String, String> environmentVariables;
- /*
- * Is this the SCM site?
- */
- @JsonProperty(value = "properties.is_scm_site")
- private Boolean isScmSite;
- /*
- * Is this a Web Job?
- */
- @JsonProperty(value = "properties.is_webjob")
- private Boolean isWebjob;
- /*
- * Description of process.
- */
- @JsonProperty(value = "properties.description")
- private String description;
- /**
- * Get the identifier property: ARM Identifier for deployment.
- *
- * @return the identifier value.
- */
- public Integer identifier() {
- return this.identifier;
- }
- /**
- * Get the deploymentName property: Deployment name.
- *
- * @return the deploymentName value.
- */
- public String deploymentName() {
- return this.deploymentName;
- }
- /**
- * Set the deploymentName property: Deployment name.
- *
- * @param deploymentName the deploymentName value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withDeploymentName(String deploymentName) {
- this.deploymentName = deploymentName;
- return this;
- }
- /**
- * Get the href property: HRef URI.
- *
- * @return the href value.
- */
- public String href() {
- return this.href;
- }
- /**
- * Set the href property: 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 the minidump property: Minidump URI.
- *
- * @return the minidump value.
- */
- public String minidump() {
- return this.minidump;
- }
- /**
- * Set the minidump property: 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 the isProfileRunning property: Is profile running?.
- *
- * @return the isProfileRunning value.
- */
- public Boolean isProfileRunning() {
- return this.isProfileRunning;
- }
- /**
- * Set the isProfileRunning property: 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 the isIisProfileRunning property: Is the IIS Profile running?.
- *
- * @return the isIisProfileRunning value.
- */
- public Boolean isIisProfileRunning() {
- return this.isIisProfileRunning;
- }
- /**
- * Set the isIisProfileRunning property: 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 the iisProfileTimeoutInSeconds property: IIS Profile timeout (seconds).
- *
- * @return the iisProfileTimeoutInSeconds value.
- */
- public Double iisProfileTimeoutInSeconds() {
- return this.iisProfileTimeoutInSeconds;
- }
- /**
- * Set the iisProfileTimeoutInSeconds property: 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 the parent property: Parent process.
- *
- * @return the parent value.
- */
- public String parent() {
- return this.parent;
- }
- /**
- * Set the parent property: 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 the children property: Child process list.
- *
- * @return the children value.
- */
- public List<String> children() {
- return this.children;
- }
- /**
- * Set the children property: 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 the threads property: Thread list.
- *
- * @return the threads value.
- */
- public List<ProcessThreadInfoInner> threads() {
- return this.threads;
- }
- /**
- * Set the threads property: 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 the openFileHandles property: List of open files.
- *
- * @return the openFileHandles value.
- */
- public List<String> openFileHandles() {
- return this.openFileHandles;
- }
- /**
- * Set the openFileHandles property: 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 the modules property: List of modules.
- *
- * @return the modules value.
- */
- public List<ProcessModuleInfoInner> modules() {
- return this.modules;
- }
- /**
- * Set the modules property: 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 the fileName property: File name of this process.
- *
- * @return the fileName value.
- */
- public String fileName() {
- return this.fileName;
- }
- /**
- * Set the fileName property: 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 the commandLine property: Command line.
- *
- * @return the commandLine value.
- */
- public String commandLine() {
- return this.commandLine;
- }
- /**
- * Set the commandLine property: 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 the userName property: User name.
- *
- * @return the userName value.
- */
- public String userName() {
- return this.userName;
- }
- /**
- * Set the userName property: 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 the handleCount property: Handle count.
- *
- * @return the handleCount value.
- */
- public Integer handleCount() {
- return this.handleCount;
- }
- /**
- * Set the handleCount property: 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 the moduleCount property: Module count.
- *
- * @return the moduleCount value.
- */
- public Integer moduleCount() {
- return this.moduleCount;
- }
- /**
- * Set the moduleCount property: 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 the threadCount property: Thread count.
- *
- * @return the threadCount value.
- */
- public Integer threadCount() {
- return this.threadCount;
- }
- /**
- * Set the threadCount property: 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 the startTime property: Start time.
- *
- * @return the startTime value.
- */
- public OffsetDateTime startTime() {
- return this.startTime;
- }
- /**
- * Set the startTime property: Start time.
- *
- * @param startTime the startTime value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- return this;
- }
- /**
- * Get the totalCpuTime property: Total CPU time.
- *
- * @return the totalCpuTime value.
- */
- public String totalCpuTime() {
- return this.totalCpuTime;
- }
- /**
- * Set the totalCpuTime property: Total CPU time.
- *
- * @param totalCpuTime the totalCpuTime value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withTotalCpuTime(String totalCpuTime) {
- this.totalCpuTime = totalCpuTime;
- return this;
- }
- /**
- * Get the userCpuTime property: User CPU time.
- *
- * @return the userCpuTime value.
- */
- public String userCpuTime() {
- return this.userCpuTime;
- }
- /**
- * Set the userCpuTime property: User CPU time.
- *
- * @param userCpuTime the userCpuTime value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withUserCpuTime(String userCpuTime) {
- this.userCpuTime = userCpuTime;
- return this;
- }
- /**
- * Get the privilegedCpuTime property: Privileged CPU time.
- *
- * @return the privilegedCpuTime value.
- */
- public String privilegedCpuTime() {
- return this.privilegedCpuTime;
- }
- /**
- * Set the privilegedCpuTime property: Privileged CPU time.
- *
- * @param privilegedCpuTime the privilegedCpuTime value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPrivilegedCpuTime(String privilegedCpuTime) {
- this.privilegedCpuTime = privilegedCpuTime;
- return this;
- }
- /**
- * Get the workingSet property: Working set.
- *
- * @return the workingSet value.
- */
- public Long workingSet() {
- return this.workingSet;
- }
- /**
- * Set the workingSet property: Working set.
- *
- * @param workingSet the workingSet value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withWorkingSet(Long workingSet) {
- this.workingSet = workingSet;
- return this;
- }
- /**
- * Get the peakWorkingSet property: Peak working set.
- *
- * @return the peakWorkingSet value.
- */
- public Long peakWorkingSet() {
- return this.peakWorkingSet;
- }
- /**
- * Set the peakWorkingSet property: Peak working set.
- *
- * @param peakWorkingSet the peakWorkingSet value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakWorkingSet(Long peakWorkingSet) {
- this.peakWorkingSet = peakWorkingSet;
- return this;
- }
- /**
- * Get the privateMemory property: Private memory size.
- *
- * @return the privateMemory value.
- */
- public Long privateMemory() {
- return this.privateMemory;
- }
- /**
- * Set the privateMemory property: Private memory size.
- *
- * @param privateMemory the privateMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPrivateMemory(Long privateMemory) {
- this.privateMemory = privateMemory;
- return this;
- }
- /**
- * Get the virtualMemory property: Virtual memory size.
- *
- * @return the virtualMemory value.
- */
- public Long virtualMemory() {
- return this.virtualMemory;
- }
- /**
- * Set the virtualMemory property: Virtual memory size.
- *
- * @param virtualMemory the virtualMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withVirtualMemory(Long virtualMemory) {
- this.virtualMemory = virtualMemory;
- return this;
- }
- /**
- * Get the peakVirtualMemory property: Peak virtual memory usage.
- *
- * @return the peakVirtualMemory value.
- */
- public Long peakVirtualMemory() {
- return this.peakVirtualMemory;
- }
- /**
- * Set the peakVirtualMemory property: Peak virtual memory usage.
- *
- * @param peakVirtualMemory the peakVirtualMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakVirtualMemory(Long peakVirtualMemory) {
- this.peakVirtualMemory = peakVirtualMemory;
- return this;
- }
- /**
- * Get the pagedSystemMemory property: Paged system memory.
- *
- * @return the pagedSystemMemory value.
- */
- public Long pagedSystemMemory() {
- return this.pagedSystemMemory;
- }
- /**
- * Set the pagedSystemMemory property: Paged system memory.
- *
- * @param pagedSystemMemory the pagedSystemMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPagedSystemMemory(Long pagedSystemMemory) {
- this.pagedSystemMemory = pagedSystemMemory;
- return this;
- }
- /**
- * Get the nonPagedSystemMemory property: Non-paged system memory.
- *
- * @return the nonPagedSystemMemory value.
- */
- public Long nonPagedSystemMemory() {
- return this.nonPagedSystemMemory;
- }
- /**
- * Set the nonPagedSystemMemory property: Non-paged system memory.
- *
- * @param nonPagedSystemMemory the nonPagedSystemMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withNonPagedSystemMemory(Long nonPagedSystemMemory) {
- this.nonPagedSystemMemory = nonPagedSystemMemory;
- return this;
- }
- /**
- * Get the pagedMemory property: Paged memory.
- *
- * @return the pagedMemory value.
- */
- public Long pagedMemory() {
- return this.pagedMemory;
- }
- /**
- * Set the pagedMemory property: Paged memory.
- *
- * @param pagedMemory the pagedMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPagedMemory(Long pagedMemory) {
- this.pagedMemory = pagedMemory;
- return this;
- }
- /**
- * Get the peakPagedMemory property: Peak paged memory.
- *
- * @return the peakPagedMemory value.
- */
- public Long peakPagedMemory() {
- return this.peakPagedMemory;
- }
- /**
- * Set the peakPagedMemory property: Peak paged memory.
- *
- * @param peakPagedMemory the peakPagedMemory value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withPeakPagedMemory(Long peakPagedMemory) {
- this.peakPagedMemory = peakPagedMemory;
- return this;
- }
- /**
- * Get the timeStamp property: Time stamp.
- *
- * @return the timeStamp value.
- */
- public OffsetDateTime timeStamp() {
- return this.timeStamp;
- }
- /**
- * Set the timeStamp property: Time stamp.
- *
- * @param timeStamp the timeStamp value to set.
- * @return the ProcessInfoInner object itself.
- */
- public ProcessInfoInner withTimeStamp(OffsetDateTime timeStamp) {
- this.timeStamp = timeStamp;
- return this;
- }
- /**
- * Get the environmentVariables property: List of environment variables.
- *
- * @return the environmentVariables value.
- */
- public Map<String, String> environmentVariables() {
- return this.environmentVariables;
- }
- /**
- * Set the environmentVariables property: 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 the isScmSite property: Is this the SCM site?.
- *
- * @return the isScmSite value.
- */
- public Boolean isScmSite() {
- return this.isScmSite;
- }
- /**
- * Set the isScmSite property: 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 the isWebjob property: Is this a Web Job?.
- *
- * @return the isWebjob value.
- */
- public Boolean isWebjob() {
- return this.isWebjob;
- }
- /**
- * Set the isWebjob property: 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 the description property: Description of process.
- *
- * @return the description value.
- */
- public String description() {
- return this.description;
- }
- /**
- * Set the description property: 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;
- }
- }