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

com.amazonaws.services.appflow.model.ConnectorRuntimeSetting Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Appflow module holds the client classes that are used for communicating with Amazon Appflow Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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 connectorSuppliedValueOptions; /** *

* 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 getConnectorSuppliedValueOptions() { return connectorSuppliedValueOptions; } /** *

* 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 connectorSuppliedValueOptions) { if (connectorSuppliedValueOptions == null) { this.connectorSuppliedValueOptions = null; return; } this.connectorSuppliedValueOptions = new java.util.ArrayList(connectorSuppliedValueOptions); } /** *

* 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(connectorSuppliedValueOptions.length)); } for (String ele : connectorSuppliedValueOptions) { this.connectorSuppliedValueOptions.add(ele); } return this; } /** *

* 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 connectorSuppliedValueOptions) { setConnectorSuppliedValueOptions(connectorSuppliedValueOptions); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getKey() != null) sb.append("Key: ").append(getKey()).append(","); if (getDataType() != null) sb.append("DataType: ").append(getDataType()).append(","); if (getIsRequired() != null) sb.append("IsRequired: ").append(getIsRequired()).append(","); if (getLabel() != null) sb.append("Label: ").append(getLabel()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getScope() != null) sb.append("Scope: ").append(getScope()).append(","); if (getConnectorSuppliedValueOptions() != null) sb.append("ConnectorSuppliedValueOptions: ").append(getConnectorSuppliedValueOptions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ConnectorRuntimeSetting == false) return false; ConnectorRuntimeSetting other = (ConnectorRuntimeSetting) obj; if (other.getKey() == null ^ this.getKey() == null) return false; if (other.getKey() != null && other.getKey().equals(this.getKey()) == false) return false; if (other.getDataType() == null ^ this.getDataType() == null) return false; if (other.getDataType() != null && other.getDataType().equals(this.getDataType()) == false) return false; if (other.getIsRequired() == null ^ this.getIsRequired() == null) return false; if (other.getIsRequired() != null && other.getIsRequired().equals(this.getIsRequired()) == false) return false; if (other.getLabel() == null ^ this.getLabel() == null) return false; if (other.getLabel() != null && other.getLabel().equals(this.getLabel()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getScope() == null ^ this.getScope() == null) return false; if (other.getScope() != null && other.getScope().equals(this.getScope()) == false) return false; if (other.getConnectorSuppliedValueOptions() == null ^ this.getConnectorSuppliedValueOptions() == null) return false; if (other.getConnectorSuppliedValueOptions() != null && other.getConnectorSuppliedValueOptions().equals(this.getConnectorSuppliedValueOptions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getKey() == null) ? 0 : getKey().hashCode()); hashCode = prime * hashCode + ((getDataType() == null) ? 0 : getDataType().hashCode()); hashCode = prime * hashCode + ((getIsRequired() == null) ? 0 : getIsRequired().hashCode()); hashCode = prime * hashCode + ((getLabel() == null) ? 0 : getLabel().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getScope() == null) ? 0 : getScope().hashCode()); hashCode = prime * hashCode + ((getConnectorSuppliedValueOptions() == null) ? 0 : getConnectorSuppliedValueOptions().hashCode()); return hashCode; } @Override public ConnectorRuntimeSetting clone() { try { return (ConnectorRuntimeSetting) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.appflow.model.transform.ConnectorRuntimeSettingMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy