@@ -52,172 +52,194 @@ public String getDomainName() {
52
52
53
53
public String getWorkingDir () { return workingDir ; }
54
54
55
- public void setWorkingDir (String workingDir ) {
55
+ public ContainerConfig setWorkingDir (String workingDir ) {
56
56
this .workingDir = workingDir ;
57
+ return this ;
57
58
}
58
59
59
60
public boolean isPrivileged () {
60
61
return privileged ;
61
62
}
62
63
63
- public void setPrivileged (boolean privileged ) {
64
+ public ContainerConfig setPrivileged (boolean privileged ) {
64
65
this .privileged = privileged ;
66
+ return this ;
65
67
}
66
68
67
69
public String getHostName () {
68
70
return hostName ;
69
71
}
70
72
71
- public void setNetworkDisabled (boolean networkDisabled ) {
73
+ public ContainerConfig setNetworkDisabled (boolean networkDisabled ) {
72
74
this .networkDisabled = networkDisabled ;
75
+ return this ;
73
76
}
74
77
75
- public void setHostName (String hostName ) {
78
+ public ContainerConfig setHostName (String hostName ) {
76
79
this .hostName = hostName ;
80
+ return this ;
77
81
}
78
82
79
83
public String [] getPortSpecs () {
80
84
return portSpecs ;
81
85
}
82
86
83
- public void setPortSpecs (String [] portSpecs ) {
87
+ public ContainerConfig setPortSpecs (String [] portSpecs ) {
84
88
this .portSpecs = portSpecs ;
89
+ return this ;
85
90
}
86
91
87
92
public String getUser () {
88
93
return user ;
89
94
}
90
95
91
- public void setUser (String user ) {
96
+ public ContainerConfig setUser (String user ) {
92
97
this .user = user ;
98
+ return this ;
93
99
}
94
100
95
101
public boolean isTty () {
96
102
return tty ;
97
103
}
98
104
99
- public void setTty (boolean tty ) {
105
+ public ContainerConfig setTty (boolean tty ) {
100
106
this .tty = tty ;
107
+ return this ;
101
108
}
102
109
103
110
public boolean isStdinOpen () {
104
111
return stdinOpen ;
105
112
}
106
113
107
- public void setStdinOpen (boolean stdinOpen ) {
114
+ public ContainerConfig setStdinOpen (boolean stdinOpen ) {
108
115
this .stdinOpen = stdinOpen ;
116
+ return this ;
109
117
}
110
118
111
119
public boolean isStdInOnce () {
112
120
return stdInOnce ;
113
121
}
114
122
115
- public void setStdInOnce (boolean stdInOnce ) {
123
+ public ContainerConfig setStdInOnce (boolean stdInOnce ) {
116
124
this .stdInOnce = stdInOnce ;
125
+ return this ;
117
126
}
118
127
119
128
public long getMemoryLimit () {
120
129
return memoryLimit ;
121
130
}
122
131
123
- public void setMemoryLimit (long memoryLimit ) {
132
+ public ContainerConfig setMemoryLimit (long memoryLimit ) {
124
133
this .memoryLimit = memoryLimit ;
134
+ return this ;
125
135
}
126
136
127
137
public long getMemorySwap () {
128
138
return memorySwap ;
129
139
}
130
140
131
- public void setMemorySwap (long memorySwap ) {
141
+ public ContainerConfig setMemorySwap (long memorySwap ) {
132
142
this .memorySwap = memorySwap ;
143
+ return this ;
133
144
}
134
145
135
146
public int getCpuShares () {
136
147
return cpuShares ;
137
148
}
138
149
139
- public void setCpuShares (int cpuShares ) {
150
+ public ContainerConfig setCpuShares (int cpuShares ) {
140
151
this .cpuShares = cpuShares ;
152
+ return this ;
141
153
}
142
154
143
155
public boolean isAttachStdin () {
144
156
return attachStdin ;
145
157
}
146
158
147
- public void setAttachStdin (boolean attachStdin ) {
159
+ public ContainerConfig setAttachStdin (boolean attachStdin ) {
148
160
this .attachStdin = attachStdin ;
161
+ return this ;
149
162
}
150
163
151
164
public boolean isAttachStdout () {
152
165
return attachStdout ;
153
166
}
154
167
155
- public void setAttachStdout (boolean attachStdout ) {
168
+ public ContainerConfig setAttachStdout (boolean attachStdout ) {
156
169
this .attachStdout = attachStdout ;
170
+ return this ;
157
171
}
158
172
159
173
public boolean isAttachStderr () {
160
174
return attachStderr ;
161
175
}
162
176
163
- public void setAttachStderr (boolean attachStderr ) {
177
+ public ContainerConfig setAttachStderr (boolean attachStderr ) {
164
178
this .attachStderr = attachStderr ;
179
+ return this ;
165
180
}
166
181
167
182
public String [] getEnv () {
168
183
return env ;
169
184
}
170
185
171
- public void setEnv (String [] env ) {
186
+ public ContainerConfig setEnv (String [] env ) {
172
187
this .env = env ;
188
+ return this ;
173
189
}
174
190
175
191
public String [] getCmd () {
176
192
return cmd ;
177
193
}
178
194
179
- public void setCmd (String [] cmd ) {
195
+ public ContainerConfig setCmd (String [] cmd ) {
180
196
this .cmd = cmd ;
197
+ return this ;
181
198
}
182
199
183
200
public String [] getDns () {
184
201
return dns ;
185
202
}
186
203
187
- public void setDns (String [] dns ) {
204
+ public ContainerConfig setDns (String [] dns ) {
188
205
this .dns = dns ;
206
+ return this ;
189
207
}
190
208
191
209
public String getImage () {
192
210
return image ;
193
211
}
194
212
195
- public void setImage (String image ) {
213
+ public ContainerConfig setImage (String image ) {
196
214
this .image = image ;
215
+ return this ;
197
216
}
198
217
199
218
public Object getVolumes () {
200
219
return volumes ;
201
220
}
202
221
203
- public void setVolumes (Object volumes ) {
222
+ public ContainerConfig setVolumes (Object volumes ) {
204
223
this .volumes = volumes ;
224
+ return this ;
205
225
}
206
226
207
227
public String getVolumesFrom () {
208
228
return volumesFrom ;
209
229
}
210
230
211
- public void setVolumesFrom (String volumesFrom ) {
231
+ public ContainerConfig setVolumesFrom (String volumesFrom ) {
212
232
this .volumesFrom = volumesFrom ;
233
+ return this ;
213
234
}
214
235
215
236
public String [] getEntrypoint () {
216
237
return entrypoint ;
217
238
}
218
239
219
- public void setEntrypoint (String [] entrypoint ) {
240
+ public ContainerConfig setEntrypoint (String [] entrypoint ) {
220
241
this .entrypoint = entrypoint ;
242
+ return this ;
221
243
}
222
244
223
245
@ Override
0 commit comments