View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements. See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache license, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License. You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the license for the specific language governing permissions and
15   * limitations under the license.
16   */
17  package org.apache.logging.log4j.docker.model;
18  
19  import com.fasterxml.jackson.annotation.JsonProperty;
20  
21  /**
22   *
23   */
24  public class Mount {
25      
26      @JsonProperty("Type")
27      private String type;
28      
29      @JsonProperty("Name")
30      private String name;
31  
32      @JsonProperty("Source")
33      private String source;
34  
35      @JsonProperty("Destination")
36      private String destination;
37  
38      @JsonProperty("Driver")
39      private String driver;
40  
41      @JsonProperty("Mode")
42      private String mode;
43  
44      @JsonProperty("RW")
45      private Boolean readWrite;
46  
47      @JsonProperty("Propagation")
48      private String propagation;
49  
50      public String getType() {
51          return type;
52      }
53  
54      public void setType(String type) {
55          this.type = type;
56      }
57  
58      public String getName() {
59          return name;
60      }
61  
62      public void setName(String name) {
63          this.name = name;
64      }
65  
66      public String getSource() {
67          return source;
68      }
69  
70      public void setSource(String source) {
71          this.source = source;
72      }
73  
74      public String getDestination() {
75          return destination;
76      }
77  
78      public void setDestination(String destination) {
79          this.destination = destination;
80      }
81  
82      public String getDriver() {
83          return driver;
84      }
85  
86      public void setDriver(String driver) {
87          this.driver = driver;
88      }
89  
90      public String getMode() {
91          return mode;
92      }
93  
94      public void setMode(String mode) {
95          this.mode = mode;
96      }
97  
98      public Boolean getReadWrite() {
99          return readWrite;
100     }
101 
102     public void setReadWrite(Boolean readWrite) {
103         this.readWrite = readWrite;
104     }
105 
106     public String getPropagation() {
107         return propagation;
108     }
109 
110     public void setPropagation(String propagation) {
111         this.propagation = propagation;
112     }
113 }