All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.dataproc.model.DiagnoseClusterRequest Maven / Gradle / Ivy

/*
 * 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.dataproc.model;

/**
 * A request to collect cluster diagnostic information.
 *
 * 

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 Dataproc API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class DiagnoseClusterRequest extends com.google.api.client.json.GenericJson { /** * Optional. Time interval in which diagnosis should be carried out on the cluster. * The value may be {@code null}. */ @com.google.api.client.util.Key private Interval diagnosisInterval; /** * Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String job; /** * Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List jobs; /** * Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to * default access of the bucket * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tarballAccess; /** * Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not * specified, a task-specific directory in the cluster's staging bucket will be used. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tarballGcsDir; /** * Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String yarnApplicationId; /** * Optional. Specifies a list of yarn applications on which diagnosis is to be performed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List yarnApplicationIds; /** * Optional. Time interval in which diagnosis should be carried out on the cluster. * @return value or {@code null} for none */ public Interval getDiagnosisInterval() { return diagnosisInterval; } /** * Optional. Time interval in which diagnosis should be carried out on the cluster. * @param diagnosisInterval diagnosisInterval or {@code null} for none */ public DiagnoseClusterRequest setDiagnosisInterval(Interval diagnosisInterval) { this.diagnosisInterval = diagnosisInterval; return this; } /** * Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * @return value or {@code null} for none */ public java.lang.String getJob() { return job; } /** * Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * @param job job or {@code null} for none */ public DiagnoseClusterRequest setJob(java.lang.String job) { this.job = job; return this; } /** * Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * @return value or {@code null} for none */ public java.util.List getJobs() { return jobs; } /** * Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: * projects/{project}/regions/{region}/jobs/{job} * @param jobs jobs or {@code null} for none */ public DiagnoseClusterRequest setJobs(java.util.List jobs) { this.jobs = jobs; return this; } /** * Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to * default access of the bucket * @return value or {@code null} for none */ public java.lang.String getTarballAccess() { return tarballAccess; } /** * Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to * default access of the bucket * @param tarballAccess tarballAccess or {@code null} for none */ public DiagnoseClusterRequest setTarballAccess(java.lang.String tarballAccess) { this.tarballAccess = tarballAccess; return this; } /** * Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not * specified, a task-specific directory in the cluster's staging bucket will be used. * @return value or {@code null} for none */ public java.lang.String getTarballGcsDir() { return tarballGcsDir; } /** * Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not * specified, a task-specific directory in the cluster's staging bucket will be used. * @param tarballGcsDir tarballGcsDir or {@code null} for none */ public DiagnoseClusterRequest setTarballGcsDir(java.lang.String tarballGcsDir) { this.tarballGcsDir = tarballGcsDir; return this; } /** * Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed. * @return value or {@code null} for none */ public java.lang.String getYarnApplicationId() { return yarnApplicationId; } /** * Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed. * @param yarnApplicationId yarnApplicationId or {@code null} for none */ public DiagnoseClusterRequest setYarnApplicationId(java.lang.String yarnApplicationId) { this.yarnApplicationId = yarnApplicationId; return this; } /** * Optional. Specifies a list of yarn applications on which diagnosis is to be performed. * @return value or {@code null} for none */ public java.util.List getYarnApplicationIds() { return yarnApplicationIds; } /** * Optional. Specifies a list of yarn applications on which diagnosis is to be performed. * @param yarnApplicationIds yarnApplicationIds or {@code null} for none */ public DiagnoseClusterRequest setYarnApplicationIds(java.util.List yarnApplicationIds) { this.yarnApplicationIds = yarnApplicationIds; return this; } @Override public DiagnoseClusterRequest set(String fieldName, Object value) { return (DiagnoseClusterRequest) super.set(fieldName, value); } @Override public DiagnoseClusterRequest clone() { return (DiagnoseClusterRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy