/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.file.v1beta1.model;

/**
 * ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Active
 * Directory.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Cloud Filestore API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class ManagedActiveDirectoryConfig extends com.google.api.client.json.GenericJson {

  /**
   * The computer name is used as a prefix to the mount remote target. Example: if the computer_name
   * is `my-computer`, the mount command will look like: `$mount -o vers=4,sec=krb5 my-
   * computer.filestore.:`.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String computer;

  /**
   * Fully qualified domain name.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String domain;

  /**
   * The computer name is used as a prefix to the mount remote target. Example: if the computer_name
   * is `my-computer`, the mount command will look like: `$mount -o vers=4,sec=krb5 my-
   * computer.filestore.:`.
   * @return value or {@code null} for none
   */
  public java.lang.String getComputer() {
    return computer;
  }

  /**
   * The computer name is used as a prefix to the mount remote target. Example: if the computer_name
   * is `my-computer`, the mount command will look like: `$mount -o vers=4,sec=krb5 my-
   * computer.filestore.:`.
   * @param computer computer or {@code null} for none
   */
  public ManagedActiveDirectoryConfig setComputer(java.lang.String computer) {
    this.computer = computer;
    return this;
  }

  /**
   * Fully qualified domain name.
   * @return value or {@code null} for none
   */
  public java.lang.String getDomain() {
    return domain;
  }

  /**
   * Fully qualified domain name.
   * @param domain domain or {@code null} for none
   */
  public ManagedActiveDirectoryConfig setDomain(java.lang.String domain) {
    this.domain = domain;
    return this;
  }

  @Override
  public ManagedActiveDirectoryConfig set(String fieldName, Object value) {
    return (ManagedActiveDirectoryConfig) super.set(fieldName, value);
  }

  @Override
  public ManagedActiveDirectoryConfig clone() {
    return (ManagedActiveDirectoryConfig) super.clone();
  }

}
