/* * 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.appflow.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about the connector runtime settings that are required for flow execution. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConnectorRuntimeSetting implements Serializable, Cloneable, StructuredPojo { /** ** Contains value information about the connector runtime setting. *
*/ private String key; /** ** Data type of the connector runtime setting. *
*/ private String dataType; /** ** Indicates whether this connector runtime setting is required. *
*/ private Boolean isRequired; /** ** A label used for connector runtime setting. *
*/ private String label; /** ** A description about the connector runtime setting. *
*/ private String description; /** ** Indicates the scope of the connector runtime setting. *
*/ private String scope; /** ** Contains default values for the connector runtime setting that are supplied by the connector. *
*/ private java.util.List* Contains value information about the connector runtime setting. *
* * @param key * Contains value information about the connector runtime setting. */ public void setKey(String key) { this.key = key; } /** ** Contains value information about the connector runtime setting. *
* * @return Contains value information about the connector runtime setting. */ public String getKey() { return this.key; } /** ** Contains value information about the connector runtime setting. *
* * @param key * Contains value information about the connector runtime setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withKey(String key) { setKey(key); return this; } /** ** Data type of the connector runtime setting. *
* * @param dataType * Data type of the connector runtime setting. */ public void setDataType(String dataType) { this.dataType = dataType; } /** ** Data type of the connector runtime setting. *
* * @return Data type of the connector runtime setting. */ public String getDataType() { return this.dataType; } /** ** Data type of the connector runtime setting. *
* * @param dataType * Data type of the connector runtime setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withDataType(String dataType) { setDataType(dataType); return this; } /** ** Indicates whether this connector runtime setting is required. *
* * @param isRequired * Indicates whether this connector runtime setting is required. */ public void setIsRequired(Boolean isRequired) { this.isRequired = isRequired; } /** ** Indicates whether this connector runtime setting is required. *
* * @return Indicates whether this connector runtime setting is required. */ public Boolean getIsRequired() { return this.isRequired; } /** ** Indicates whether this connector runtime setting is required. *
* * @param isRequired * Indicates whether this connector runtime setting is required. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withIsRequired(Boolean isRequired) { setIsRequired(isRequired); return this; } /** ** Indicates whether this connector runtime setting is required. *
* * @return Indicates whether this connector runtime setting is required. */ public Boolean isRequired() { return this.isRequired; } /** ** A label used for connector runtime setting. *
* * @param label * A label used for connector runtime setting. */ public void setLabel(String label) { this.label = label; } /** ** A label used for connector runtime setting. *
* * @return A label used for connector runtime setting. */ public String getLabel() { return this.label; } /** ** A label used for connector runtime setting. *
* * @param label * A label used for connector runtime setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withLabel(String label) { setLabel(label); return this; } /** ** A description about the connector runtime setting. *
* * @param description * A description about the connector runtime setting. */ public void setDescription(String description) { this.description = description; } /** ** A description about the connector runtime setting. *
* * @return A description about the connector runtime setting. */ public String getDescription() { return this.description; } /** ** A description about the connector runtime setting. *
* * @param description * A description about the connector runtime setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withDescription(String description) { setDescription(description); return this; } /** ** Indicates the scope of the connector runtime setting. *
* * @param scope * Indicates the scope of the connector runtime setting. */ public void setScope(String scope) { this.scope = scope; } /** ** Indicates the scope of the connector runtime setting. *
* * @return Indicates the scope of the connector runtime setting. */ public String getScope() { return this.scope; } /** ** Indicates the scope of the connector runtime setting. *
* * @param scope * Indicates the scope of the connector runtime setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withScope(String scope) { setScope(scope); return this; } /** ** Contains default values for the connector runtime setting that are supplied by the connector. *
* * @return Contains default values for the connector runtime setting that are supplied by the connector. */ public java.util.List* Contains default values for the connector runtime setting that are supplied by the connector. *
* * @param connectorSuppliedValueOptions * Contains default values for the connector runtime setting that are supplied by the connector. */ public void setConnectorSuppliedValueOptions(java.util.Collection* Contains default values for the connector runtime setting that are supplied by the connector. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setConnectorSuppliedValueOptions(java.util.Collection)} or * {@link #withConnectorSuppliedValueOptions(java.util.Collection)} if you want to override the existing values. *
* * @param connectorSuppliedValueOptions * Contains default values for the connector runtime setting that are supplied by the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withConnectorSuppliedValueOptions(String... connectorSuppliedValueOptions) { if (this.connectorSuppliedValueOptions == null) { setConnectorSuppliedValueOptions(new java.util.ArrayList* Contains default values for the connector runtime setting that are supplied by the connector. *
* * @param connectorSuppliedValueOptions * Contains default values for the connector runtime setting that are supplied by the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorRuntimeSetting withConnectorSuppliedValueOptions(java.util.Collection