/* * 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.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Specifies the set of parameters needed to perform the dynamic transform. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DynamicTransform implements Serializable, Cloneable, StructuredPojo { /** ** Specifies the name of the dynamic transform. *
*/ private String name; /** ** Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. *
*/ private String transformName; /** ** Specifies the inputs for the dynamic transform that are required. *
*/ private java.util.List* Specifies the parameters of the dynamic transform. *
*/ private java.util.List* Specifies the name of the function of the dynamic transform. *
*/ private String functionName; /** ** Specifies the path of the dynamic transform source and config files. *
*/ private String path; /** ** This field is not used and will be deprecated in future release. *
*/ private String version; /** ** Specifies the data schema for the dynamic transform. *
*/ private java.util.List* Specifies the name of the dynamic transform. *
* * @param name * Specifies the name of the dynamic transform. */ public void setName(String name) { this.name = name; } /** ** Specifies the name of the dynamic transform. *
* * @return Specifies the name of the dynamic transform. */ public String getName() { return this.name; } /** ** Specifies the name of the dynamic transform. *
* * @param name * Specifies the name of the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withName(String name) { setName(name); return this; } /** ** Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. *
* * @param transformName * Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. */ public void setTransformName(String transformName) { this.transformName = transformName; } /** ** Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. *
* * @return Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. */ public String getTransformName() { return this.transformName; } /** ** Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. *
* * @param transformName * Specifies the name of the dynamic transform as it appears in the Glue Studio visual editor. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withTransformName(String transformName) { setTransformName(transformName); return this; } /** ** Specifies the inputs for the dynamic transform that are required. *
* * @return Specifies the inputs for the dynamic transform that are required. */ public java.util.List* Specifies the inputs for the dynamic transform that are required. *
* * @param inputs * Specifies the inputs for the dynamic transform that are required. */ public void setInputs(java.util.Collection* Specifies the inputs for the dynamic transform that are required. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInputs(java.util.Collection)} or {@link #withInputs(java.util.Collection)} if you want to override the * existing values. *
* * @param inputs * Specifies the inputs for the dynamic transform that are required. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withInputs(String... inputs) { if (this.inputs == null) { setInputs(new java.util.ArrayList* Specifies the inputs for the dynamic transform that are required. *
* * @param inputs * Specifies the inputs for the dynamic transform that are required. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withInputs(java.util.Collection* Specifies the parameters of the dynamic transform. *
* * @return Specifies the parameters of the dynamic transform. */ public java.util.List* Specifies the parameters of the dynamic transform. *
* * @param parameters * Specifies the parameters of the dynamic transform. */ public void setParameters(java.util.Collection* Specifies the parameters of the dynamic transform. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParameters(java.util.Collection)} or {@link #withParameters(java.util.Collection)} if you want to * override the existing values. *
* * @param parameters * Specifies the parameters of the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withParameters(TransformConfigParameter... parameters) { if (this.parameters == null) { setParameters(new java.util.ArrayList* Specifies the parameters of the dynamic transform. *
* * @param parameters * Specifies the parameters of the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withParameters(java.util.Collection* Specifies the name of the function of the dynamic transform. *
* * @param functionName * Specifies the name of the function of the dynamic transform. */ public void setFunctionName(String functionName) { this.functionName = functionName; } /** ** Specifies the name of the function of the dynamic transform. *
* * @return Specifies the name of the function of the dynamic transform. */ public String getFunctionName() { return this.functionName; } /** ** Specifies the name of the function of the dynamic transform. *
* * @param functionName * Specifies the name of the function of the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withFunctionName(String functionName) { setFunctionName(functionName); return this; } /** ** Specifies the path of the dynamic transform source and config files. *
* * @param path * Specifies the path of the dynamic transform source and config files. */ public void setPath(String path) { this.path = path; } /** ** Specifies the path of the dynamic transform source and config files. *
* * @return Specifies the path of the dynamic transform source and config files. */ public String getPath() { return this.path; } /** ** Specifies the path of the dynamic transform source and config files. *
* * @param path * Specifies the path of the dynamic transform source and config files. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withPath(String path) { setPath(path); return this; } /** ** This field is not used and will be deprecated in future release. *
* * @param version * This field is not used and will be deprecated in future release. */ public void setVersion(String version) { this.version = version; } /** ** This field is not used and will be deprecated in future release. *
* * @return This field is not used and will be deprecated in future release. */ public String getVersion() { return this.version; } /** ** This field is not used and will be deprecated in future release. *
* * @param version * This field is not used and will be deprecated in future release. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withVersion(String version) { setVersion(version); return this; } /** ** Specifies the data schema for the dynamic transform. *
* * @return Specifies the data schema for the dynamic transform. */ public java.util.List* Specifies the data schema for the dynamic transform. *
* * @param outputSchemas * Specifies the data schema for the dynamic transform. */ public void setOutputSchemas(java.util.Collection* Specifies the data schema for the dynamic transform. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOutputSchemas(java.util.Collection)} or {@link #withOutputSchemas(java.util.Collection)} if you want * to override the existing values. *
* * @param outputSchemas * Specifies the data schema for the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withOutputSchemas(GlueSchema... outputSchemas) { if (this.outputSchemas == null) { setOutputSchemas(new java.util.ArrayList* Specifies the data schema for the dynamic transform. *
* * @param outputSchemas * Specifies the data schema for the dynamic transform. * @return Returns a reference to this object so that method calls can be chained together. */ public DynamicTransform withOutputSchemas(java.util.Collection