/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ package com.amazonaws.services.amplifyuibuilder.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The code generation job resource configuration. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartCodegenJobData implements Serializable, Cloneable, StructuredPojo { /** ** The code generation configuration for the codegen job. *
*/ private CodegenJobRenderConfig renderConfig; /** ** The data schema to use for a code generation job. *
*/ private CodegenJobGenericDataSchema genericDataSchema; /** ** Specifies whether to autogenerate forms in the code generation job. *
*/ private Boolean autoGenerateForms; /** ** The feature flags for a code generation job. *
*/ private CodegenFeatureFlags features; /** ** One or more key-value pairs to use when tagging the code generation job data. *
*/ private java.util.Map* The code generation configuration for the codegen job. *
* * @param renderConfig * The code generation configuration for the codegen job. */ public void setRenderConfig(CodegenJobRenderConfig renderConfig) { this.renderConfig = renderConfig; } /** ** The code generation configuration for the codegen job. *
* * @return The code generation configuration for the codegen job. */ public CodegenJobRenderConfig getRenderConfig() { return this.renderConfig; } /** ** The code generation configuration for the codegen job. *
* * @param renderConfig * The code generation configuration for the codegen job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCodegenJobData withRenderConfig(CodegenJobRenderConfig renderConfig) { setRenderConfig(renderConfig); return this; } /** ** The data schema to use for a code generation job. *
* * @param genericDataSchema * The data schema to use for a code generation job. */ public void setGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema) { this.genericDataSchema = genericDataSchema; } /** ** The data schema to use for a code generation job. *
* * @return The data schema to use for a code generation job. */ public CodegenJobGenericDataSchema getGenericDataSchema() { return this.genericDataSchema; } /** ** The data schema to use for a code generation job. *
* * @param genericDataSchema * The data schema to use for a code generation job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCodegenJobData withGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema) { setGenericDataSchema(genericDataSchema); return this; } /** ** Specifies whether to autogenerate forms in the code generation job. *
* * @param autoGenerateForms * Specifies whether to autogenerate forms in the code generation job. */ public void setAutoGenerateForms(Boolean autoGenerateForms) { this.autoGenerateForms = autoGenerateForms; } /** ** Specifies whether to autogenerate forms in the code generation job. *
* * @return Specifies whether to autogenerate forms in the code generation job. */ public Boolean getAutoGenerateForms() { return this.autoGenerateForms; } /** ** Specifies whether to autogenerate forms in the code generation job. *
* * @param autoGenerateForms * Specifies whether to autogenerate forms in the code generation job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCodegenJobData withAutoGenerateForms(Boolean autoGenerateForms) { setAutoGenerateForms(autoGenerateForms); return this; } /** ** Specifies whether to autogenerate forms in the code generation job. *
* * @return Specifies whether to autogenerate forms in the code generation job. */ public Boolean isAutoGenerateForms() { return this.autoGenerateForms; } /** ** The feature flags for a code generation job. *
* * @param features * The feature flags for a code generation job. */ public void setFeatures(CodegenFeatureFlags features) { this.features = features; } /** ** The feature flags for a code generation job. *
* * @return The feature flags for a code generation job. */ public CodegenFeatureFlags getFeatures() { return this.features; } /** ** The feature flags for a code generation job. *
* * @param features * The feature flags for a code generation job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCodegenJobData withFeatures(CodegenFeatureFlags features) { setFeatures(features); return this; } /** ** One or more key-value pairs to use when tagging the code generation job data. *
* * @return One or more key-value pairs to use when tagging the code generation job data. */ public java.util.Map* One or more key-value pairs to use when tagging the code generation job data. *
* * @param tags * One or more key-value pairs to use when tagging the code generation job data. */ public void setTags(java.util.Map* One or more key-value pairs to use when tagging the code generation job data. *
* * @param tags * One or more key-value pairs to use when tagging the code generation job data. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCodegenJobData withTags(java.util.Map