View Javadoc
1   // Copyright (c) Microsoft Corporation. All rights reserved.
2   // Licensed under the MIT License.
3   // Code generated by Microsoft (R) AutoRest Code Generator
4   
5   package com.microsoft.azure.batch.protocol.models;
6   
7   import com.fasterxml.jackson.annotation.JsonProperty;
8   
9   /**
10   * The result of uploading Batch service log files from a specific compute
11   * node.
12   */
13  public class UploadBatchServiceLogsResult {
14      /**
15       * The virtual directory within Azure Blob Storage container to which the
16       * Batch Service log file(s) will be uploaded.
17       * The virtual directory name is part of the blob name for each log file
18       * uploaded, and it is built based poolId, nodeId and a unique identifier.
19       */
20      @JsonProperty(value = "virtualDirectoryName", required = true)
21      private String virtualDirectoryName;
22  
23      /**
24       * The number of log files which will be uploaded.
25       */
26      @JsonProperty(value = "numberOfFilesUploaded", required = true)
27      private int numberOfFilesUploaded;
28  
29      /**
30       * Get the virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier.
31       *
32       * @return the virtualDirectoryName value
33       */
34      public String virtualDirectoryName() {
35          return this.virtualDirectoryName;
36      }
37  
38      /**
39       * Set the virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier.
40       *
41       * @param virtualDirectoryName the virtualDirectoryName value to set
42       * @return the UploadBatchServiceLogsResult object itself.
43       */
44      public UploadBatchServiceLogsResult withVirtualDirectoryName(String virtualDirectoryName) {
45          this.virtualDirectoryName = virtualDirectoryName;
46          return this;
47      }
48  
49      /**
50       * Get the numberOfFilesUploaded value.
51       *
52       * @return the numberOfFilesUploaded value
53       */
54      public int numberOfFilesUploaded() {
55          return this.numberOfFilesUploaded;
56      }
57  
58      /**
59       * Set the numberOfFilesUploaded value.
60       *
61       * @param numberOfFilesUploaded the numberOfFilesUploaded value to set
62       * @return the UploadBatchServiceLogsResult object itself.
63       */
64      public UploadBatchServiceLogsResult withNumberOfFilesUploaded(int numberOfFilesUploaded) {
65          this.numberOfFilesUploaded = numberOfFilesUploaded;
66          return this;
67      }
68  
69  }