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

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

The newest version!
/*
 * 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;

/**
 * Runtime configuration for a workload.
 *
 * 

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 RuntimeConfig extends com.google.api.client.json.GenericJson { /** * Optional. Autotuning configuration of the workload. * The value may be {@code null}. */ @com.google.api.client.util.Key private AutotuningConfig autotuningConfig; /** * Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. * daily ETL jobs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String cohort; /** * Optional. Optional custom container image for the job runtime environment. If not specified, a * default container image will be used. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String containerImage; /** * Optional. A mapping of property names to values, which are used to configure workload * execution. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map properties; /** * Optional. Dependency repository configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private RepositoryConfig repositoryConfig; /** * Optional. Version of the batch runtime. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String version; /** * Optional. Autotuning configuration of the workload. * @return value or {@code null} for none */ public AutotuningConfig getAutotuningConfig() { return autotuningConfig; } /** * Optional. Autotuning configuration of the workload. * @param autotuningConfig autotuningConfig or {@code null} for none */ public RuntimeConfig setAutotuningConfig(AutotuningConfig autotuningConfig) { this.autotuningConfig = autotuningConfig; return this; } /** * Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. * daily ETL jobs. * @return value or {@code null} for none */ public java.lang.String getCohort() { return cohort; } /** * Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. * daily ETL jobs. * @param cohort cohort or {@code null} for none */ public RuntimeConfig setCohort(java.lang.String cohort) { this.cohort = cohort; return this; } /** * Optional. Optional custom container image for the job runtime environment. If not specified, a * default container image will be used. * @return value or {@code null} for none */ public java.lang.String getContainerImage() { return containerImage; } /** * Optional. Optional custom container image for the job runtime environment. If not specified, a * default container image will be used. * @param containerImage containerImage or {@code null} for none */ public RuntimeConfig setContainerImage(java.lang.String containerImage) { this.containerImage = containerImage; return this; } /** * Optional. A mapping of property names to values, which are used to configure workload * execution. * @return value or {@code null} for none */ public java.util.Map getProperties() { return properties; } /** * Optional. A mapping of property names to values, which are used to configure workload * execution. * @param properties properties or {@code null} for none */ public RuntimeConfig setProperties(java.util.Map properties) { this.properties = properties; return this; } /** * Optional. Dependency repository configuration. * @return value or {@code null} for none */ public RepositoryConfig getRepositoryConfig() { return repositoryConfig; } /** * Optional. Dependency repository configuration. * @param repositoryConfig repositoryConfig or {@code null} for none */ public RuntimeConfig setRepositoryConfig(RepositoryConfig repositoryConfig) { this.repositoryConfig = repositoryConfig; return this; } /** * Optional. Version of the batch runtime. * @return value or {@code null} for none */ public java.lang.String getVersion() { return version; } /** * Optional. Version of the batch runtime. * @param version version or {@code null} for none */ public RuntimeConfig setVersion(java.lang.String version) { this.version = version; return this; } @Override public RuntimeConfig set(String fieldName, Object value) { return (RuntimeConfig) super.set(fieldName, value); } @Override public RuntimeConfig clone() { return (RuntimeConfig) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy