1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * 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, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dataproc;
19
20class KerberosConfig extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $crossRealmTrustAdminServer;
26  /**
27   * @var string
28   */
29  public $crossRealmTrustKdc;
30  /**
31   * @var string
32   */
33  public $crossRealmTrustRealm;
34  /**
35   * @var string
36   */
37  public $crossRealmTrustSharedPasswordUri;
38  /**
39   * @var bool
40   */
41  public $enableKerberos;
42  /**
43   * @var string
44   */
45  public $kdcDbKeyUri;
46  /**
47   * @var string
48   */
49  public $keyPasswordUri;
50  /**
51   * @var string
52   */
53  public $keystorePasswordUri;
54  /**
55   * @var string
56   */
57  public $keystoreUri;
58  /**
59   * @var string
60   */
61  public $kmsKeyUri;
62  /**
63   * @var string
64   */
65  public $realm;
66  /**
67   * @var string
68   */
69  public $rootPrincipalPasswordUri;
70  /**
71   * @var int
72   */
73  public $tgtLifetimeHours;
74  /**
75   * @var string
76   */
77  public $truststorePasswordUri;
78  /**
79   * @var string
80   */
81  public $truststoreUri;
82
83  /**
84   * @param string
85   */
86  public function setCrossRealmTrustAdminServer($crossRealmTrustAdminServer)
87  {
88    $this->crossRealmTrustAdminServer = $crossRealmTrustAdminServer;
89  }
90  /**
91   * @return string
92   */
93  public function getCrossRealmTrustAdminServer()
94  {
95    return $this->crossRealmTrustAdminServer;
96  }
97  /**
98   * @param string
99   */
100  public function setCrossRealmTrustKdc($crossRealmTrustKdc)
101  {
102    $this->crossRealmTrustKdc = $crossRealmTrustKdc;
103  }
104  /**
105   * @return string
106   */
107  public function getCrossRealmTrustKdc()
108  {
109    return $this->crossRealmTrustKdc;
110  }
111  /**
112   * @param string
113   */
114  public function setCrossRealmTrustRealm($crossRealmTrustRealm)
115  {
116    $this->crossRealmTrustRealm = $crossRealmTrustRealm;
117  }
118  /**
119   * @return string
120   */
121  public function getCrossRealmTrustRealm()
122  {
123    return $this->crossRealmTrustRealm;
124  }
125  /**
126   * @param string
127   */
128  public function setCrossRealmTrustSharedPasswordUri($crossRealmTrustSharedPasswordUri)
129  {
130    $this->crossRealmTrustSharedPasswordUri = $crossRealmTrustSharedPasswordUri;
131  }
132  /**
133   * @return string
134   */
135  public function getCrossRealmTrustSharedPasswordUri()
136  {
137    return $this->crossRealmTrustSharedPasswordUri;
138  }
139  /**
140   * @param bool
141   */
142  public function setEnableKerberos($enableKerberos)
143  {
144    $this->enableKerberos = $enableKerberos;
145  }
146  /**
147   * @return bool
148   */
149  public function getEnableKerberos()
150  {
151    return $this->enableKerberos;
152  }
153  /**
154   * @param string
155   */
156  public function setKdcDbKeyUri($kdcDbKeyUri)
157  {
158    $this->kdcDbKeyUri = $kdcDbKeyUri;
159  }
160  /**
161   * @return string
162   */
163  public function getKdcDbKeyUri()
164  {
165    return $this->kdcDbKeyUri;
166  }
167  /**
168   * @param string
169   */
170  public function setKeyPasswordUri($keyPasswordUri)
171  {
172    $this->keyPasswordUri = $keyPasswordUri;
173  }
174  /**
175   * @return string
176   */
177  public function getKeyPasswordUri()
178  {
179    return $this->keyPasswordUri;
180  }
181  /**
182   * @param string
183   */
184  public function setKeystorePasswordUri($keystorePasswordUri)
185  {
186    $this->keystorePasswordUri = $keystorePasswordUri;
187  }
188  /**
189   * @return string
190   */
191  public function getKeystorePasswordUri()
192  {
193    return $this->keystorePasswordUri;
194  }
195  /**
196   * @param string
197   */
198  public function setKeystoreUri($keystoreUri)
199  {
200    $this->keystoreUri = $keystoreUri;
201  }
202  /**
203   * @return string
204   */
205  public function getKeystoreUri()
206  {
207    return $this->keystoreUri;
208  }
209  /**
210   * @param string
211   */
212  public function setKmsKeyUri($kmsKeyUri)
213  {
214    $this->kmsKeyUri = $kmsKeyUri;
215  }
216  /**
217   * @return string
218   */
219  public function getKmsKeyUri()
220  {
221    return $this->kmsKeyUri;
222  }
223  /**
224   * @param string
225   */
226  public function setRealm($realm)
227  {
228    $this->realm = $realm;
229  }
230  /**
231   * @return string
232   */
233  public function getRealm()
234  {
235    return $this->realm;
236  }
237  /**
238   * @param string
239   */
240  public function setRootPrincipalPasswordUri($rootPrincipalPasswordUri)
241  {
242    $this->rootPrincipalPasswordUri = $rootPrincipalPasswordUri;
243  }
244  /**
245   * @return string
246   */
247  public function getRootPrincipalPasswordUri()
248  {
249    return $this->rootPrincipalPasswordUri;
250  }
251  /**
252   * @param int
253   */
254  public function setTgtLifetimeHours($tgtLifetimeHours)
255  {
256    $this->tgtLifetimeHours = $tgtLifetimeHours;
257  }
258  /**
259   * @return int
260   */
261  public function getTgtLifetimeHours()
262  {
263    return $this->tgtLifetimeHours;
264  }
265  /**
266   * @param string
267   */
268  public function setTruststorePasswordUri($truststorePasswordUri)
269  {
270    $this->truststorePasswordUri = $truststorePasswordUri;
271  }
272  /**
273   * @return string
274   */
275  public function getTruststorePasswordUri()
276  {
277    return $this->truststorePasswordUri;
278  }
279  /**
280   * @param string
281   */
282  public function setTruststoreUri($truststoreUri)
283  {
284    $this->truststoreUri = $truststoreUri;
285  }
286  /**
287   * @return string
288   */
289  public function getTruststoreUri()
290  {
291    return $this->truststoreUri;
292  }
293}
294
295// Adding a class alias for backwards compatibility with the previous class name.
296class_alias(KerberosConfig::class, 'Google_Service_Dataproc_KerberosConfig');
297