/* * 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; /** *
* Information about the registered connector. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConnectorDetail implements Serializable, Cloneable, StructuredPojo { /** ** A description about the registered connector. *
*/ private String connectorDescription; /** ** The name of the connector. *
*/ private String connectorName; /** ** The owner of the connector. *
*/ private String connectorOwner; /** ** The connector version. *
*/ private String connectorVersion; /** ** The application type of the connector. *
*/ private String applicationType; /** ** The connector type. *
*/ private String connectorType; /** ** A label used for the connector. *
*/ private String connectorLabel; /** ** The time at which the connector was registered. *
*/ private java.util.Date registeredAt; /** ** The user who registered the connector. *
*/ private String registeredBy; /** ** The provisioning type that the connector uses. *
*/ private String connectorProvisioningType; /** ** The connection mode that the connector supports. *
*/ private java.util.List* The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** A description about the registered connector. *
* * @param connectorDescription * A description about the registered connector. */ public void setConnectorDescription(String connectorDescription) { this.connectorDescription = connectorDescription; } /** ** A description about the registered connector. *
* * @return A description about the registered connector. */ public String getConnectorDescription() { return this.connectorDescription; } /** ** A description about the registered connector. *
* * @param connectorDescription * A description about the registered connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorDescription(String connectorDescription) { setConnectorDescription(connectorDescription); return this; } /** ** The name of the connector. *
* * @param connectorName * The name of the connector. */ public void setConnectorName(String connectorName) { this.connectorName = connectorName; } /** ** The name of the connector. *
* * @return The name of the connector. */ public String getConnectorName() { return this.connectorName; } /** ** The name of the connector. *
* * @param connectorName * The name of the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorName(String connectorName) { setConnectorName(connectorName); return this; } /** ** The owner of the connector. *
* * @param connectorOwner * The owner of the connector. */ public void setConnectorOwner(String connectorOwner) { this.connectorOwner = connectorOwner; } /** ** The owner of the connector. *
* * @return The owner of the connector. */ public String getConnectorOwner() { return this.connectorOwner; } /** ** The owner of the connector. *
* * @param connectorOwner * The owner of the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorOwner(String connectorOwner) { setConnectorOwner(connectorOwner); return this; } /** ** The connector version. *
* * @param connectorVersion * The connector version. */ public void setConnectorVersion(String connectorVersion) { this.connectorVersion = connectorVersion; } /** ** The connector version. *
* * @return The connector version. */ public String getConnectorVersion() { return this.connectorVersion; } /** ** The connector version. *
* * @param connectorVersion * The connector version. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorVersion(String connectorVersion) { setConnectorVersion(connectorVersion); return this; } /** ** The application type of the connector. *
* * @param applicationType * The application type of the connector. */ public void setApplicationType(String applicationType) { this.applicationType = applicationType; } /** ** The application type of the connector. *
* * @return The application type of the connector. */ public String getApplicationType() { return this.applicationType; } /** ** The application type of the connector. *
* * @param applicationType * The application type of the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withApplicationType(String applicationType) { setApplicationType(applicationType); return this; } /** ** The connector type. *
* * @param connectorType * The connector type. * @see ConnectorType */ public void setConnectorType(String connectorType) { this.connectorType = connectorType; } /** ** The connector type. *
* * @return The connector type. * @see ConnectorType */ public String getConnectorType() { return this.connectorType; } /** ** The connector type. *
* * @param connectorType * The connector type. * @return Returns a reference to this object so that method calls can be chained together. * @see ConnectorType */ public ConnectorDetail withConnectorType(String connectorType) { setConnectorType(connectorType); return this; } /** ** The connector type. *
* * @param connectorType * The connector type. * @return Returns a reference to this object so that method calls can be chained together. * @see ConnectorType */ public ConnectorDetail withConnectorType(ConnectorType connectorType) { this.connectorType = connectorType.toString(); return this; } /** ** A label used for the connector. *
* * @param connectorLabel * A label used for the connector. */ public void setConnectorLabel(String connectorLabel) { this.connectorLabel = connectorLabel; } /** ** A label used for the connector. *
* * @return A label used for the connector. */ public String getConnectorLabel() { return this.connectorLabel; } /** ** A label used for the connector. *
* * @param connectorLabel * A label used for the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorLabel(String connectorLabel) { setConnectorLabel(connectorLabel); return this; } /** ** The time at which the connector was registered. *
* * @param registeredAt * The time at which the connector was registered. */ public void setRegisteredAt(java.util.Date registeredAt) { this.registeredAt = registeredAt; } /** ** The time at which the connector was registered. *
* * @return The time at which the connector was registered. */ public java.util.Date getRegisteredAt() { return this.registeredAt; } /** ** The time at which the connector was registered. *
* * @param registeredAt * The time at which the connector was registered. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withRegisteredAt(java.util.Date registeredAt) { setRegisteredAt(registeredAt); return this; } /** ** The user who registered the connector. *
* * @param registeredBy * The user who registered the connector. */ public void setRegisteredBy(String registeredBy) { this.registeredBy = registeredBy; } /** ** The user who registered the connector. *
* * @return The user who registered the connector. */ public String getRegisteredBy() { return this.registeredBy; } /** ** The user who registered the connector. *
* * @param registeredBy * The user who registered the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withRegisteredBy(String registeredBy) { setRegisteredBy(registeredBy); return this; } /** ** The provisioning type that the connector uses. *
* * @param connectorProvisioningType * The provisioning type that the connector uses. * @see ConnectorProvisioningType */ public void setConnectorProvisioningType(String connectorProvisioningType) { this.connectorProvisioningType = connectorProvisioningType; } /** ** The provisioning type that the connector uses. *
* * @return The provisioning type that the connector uses. * @see ConnectorProvisioningType */ public String getConnectorProvisioningType() { return this.connectorProvisioningType; } /** ** The provisioning type that the connector uses. *
* * @param connectorProvisioningType * The provisioning type that the connector uses. * @return Returns a reference to this object so that method calls can be chained together. * @see ConnectorProvisioningType */ public ConnectorDetail withConnectorProvisioningType(String connectorProvisioningType) { setConnectorProvisioningType(connectorProvisioningType); return this; } /** ** The provisioning type that the connector uses. *
* * @param connectorProvisioningType * The provisioning type that the connector uses. * @return Returns a reference to this object so that method calls can be chained together. * @see ConnectorProvisioningType */ public ConnectorDetail withConnectorProvisioningType(ConnectorProvisioningType connectorProvisioningType) { this.connectorProvisioningType = connectorProvisioningType.toString(); return this; } /** ** The connection mode that the connector supports. *
* * @return The connection mode that the connector supports. */ public java.util.List* The connection mode that the connector supports. *
* * @param connectorModes * The connection mode that the connector supports. */ public void setConnectorModes(java.util.Collection* The connection mode that the connector supports. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setConnectorModes(java.util.Collection)} or {@link #withConnectorModes(java.util.Collection)} if you want * to override the existing values. *
* * @param connectorModes * The connection mode that the connector supports. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorModes(String... connectorModes) { if (this.connectorModes == null) { setConnectorModes(new java.util.ArrayList* The connection mode that the connector supports. *
* * @param connectorModes * The connection mode that the connector supports. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorDetail withConnectorModes(java.util.Collection* The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** Structured records. *
** Files or binary data. *
** The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** Structured records. *
** Files or binary data. *
** The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSupportedDataTransferTypes(java.util.Collection)} or * {@link #withSupportedDataTransferTypes(java.util.Collection)} if you want to override the existing values. *
* * @param supportedDataTransferTypes * The data transfer types that the connector supports. ** Structured records. *
** Files or binary data. *
** The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** Structured records. *
** Files or binary data. *
** The data transfer types that the connector supports. *
** Structured records. *
** Files or binary data. *
** Structured records. *
** Files or binary data. *
*