/* * 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; /** *
* Describes the data model of a connector field. For example, for an account entity, the fields would be * account name, account ID, and so on. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConnectorEntityField implements Serializable, Cloneable, StructuredPojo { /** ** The unique identifier of the connector field. *
*/ private String identifier; /** ** The parent identifier of the connector field. *
*/ private String parentIdentifier; /** ** The label applied to a connector entity field. *
*/ private String label; /** ** Booelan value that indicates whether this field can be used as a primary key. *
*/ private Boolean isPrimaryKey; /** ** Default value that can be assigned to this field. *
*/ private String defaultValue; /** ** Booelan value that indicates whether this field is deprecated or not. *
*/ private Boolean isDeprecated; /** *
* Contains details regarding the supported FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*
* A description of the connector entity field. *
*/ private String description; /** ** The properties that can be applied to a field when the connector is being used as a source. *
*/ private SourceFieldProperties sourceProperties; /** ** The properties applied to a field when the connector is being used as a destination. *
*/ private DestinationFieldProperties destinationProperties; /** ** A map that has specific properties related to the ConnectorEntityField. *
*/ private java.util.Map* The unique identifier of the connector field. *
* * @param identifier * The unique identifier of the connector field. */ public void setIdentifier(String identifier) { this.identifier = identifier; } /** ** The unique identifier of the connector field. *
* * @return The unique identifier of the connector field. */ public String getIdentifier() { return this.identifier; } /** ** The unique identifier of the connector field. *
* * @param identifier * The unique identifier of the connector field. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withIdentifier(String identifier) { setIdentifier(identifier); return this; } /** ** The parent identifier of the connector field. *
* * @param parentIdentifier * The parent identifier of the connector field. */ public void setParentIdentifier(String parentIdentifier) { this.parentIdentifier = parentIdentifier; } /** ** The parent identifier of the connector field. *
* * @return The parent identifier of the connector field. */ public String getParentIdentifier() { return this.parentIdentifier; } /** ** The parent identifier of the connector field. *
* * @param parentIdentifier * The parent identifier of the connector field. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withParentIdentifier(String parentIdentifier) { setParentIdentifier(parentIdentifier); return this; } /** ** The label applied to a connector entity field. *
* * @param label * The label applied to a connector entity field. */ public void setLabel(String label) { this.label = label; } /** ** The label applied to a connector entity field. *
* * @return The label applied to a connector entity field. */ public String getLabel() { return this.label; } /** ** The label applied to a connector entity field. *
* * @param label * The label applied to a connector entity field. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withLabel(String label) { setLabel(label); return this; } /** ** Booelan value that indicates whether this field can be used as a primary key. *
* * @param isPrimaryKey * Booelan value that indicates whether this field can be used as a primary key. */ public void setIsPrimaryKey(Boolean isPrimaryKey) { this.isPrimaryKey = isPrimaryKey; } /** ** Booelan value that indicates whether this field can be used as a primary key. *
* * @return Booelan value that indicates whether this field can be used as a primary key. */ public Boolean getIsPrimaryKey() { return this.isPrimaryKey; } /** ** Booelan value that indicates whether this field can be used as a primary key. *
* * @param isPrimaryKey * Booelan value that indicates whether this field can be used as a primary key. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withIsPrimaryKey(Boolean isPrimaryKey) { setIsPrimaryKey(isPrimaryKey); return this; } /** ** Booelan value that indicates whether this field can be used as a primary key. *
* * @return Booelan value that indicates whether this field can be used as a primary key. */ public Boolean isPrimaryKey() { return this.isPrimaryKey; } /** ** Default value that can be assigned to this field. *
* * @param defaultValue * Default value that can be assigned to this field. */ public void setDefaultValue(String defaultValue) { this.defaultValue = defaultValue; } /** ** Default value that can be assigned to this field. *
* * @return Default value that can be assigned to this field. */ public String getDefaultValue() { return this.defaultValue; } /** ** Default value that can be assigned to this field. *
* * @param defaultValue * Default value that can be assigned to this field. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withDefaultValue(String defaultValue) { setDefaultValue(defaultValue); return this; } /** ** Booelan value that indicates whether this field is deprecated or not. *
* * @param isDeprecated * Booelan value that indicates whether this field is deprecated or not. */ public void setIsDeprecated(Boolean isDeprecated) { this.isDeprecated = isDeprecated; } /** ** Booelan value that indicates whether this field is deprecated or not. *
* * @return Booelan value that indicates whether this field is deprecated or not. */ public Boolean getIsDeprecated() { return this.isDeprecated; } /** ** Booelan value that indicates whether this field is deprecated or not. *
* * @param isDeprecated * Booelan value that indicates whether this field is deprecated or not. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withIsDeprecated(Boolean isDeprecated) { setIsDeprecated(isDeprecated); return this; } /** ** Booelan value that indicates whether this field is deprecated or not. *
* * @return Booelan value that indicates whether this field is deprecated or not. */ public Boolean isDeprecated() { return this.isDeprecated; } /** *
* Contains details regarding the supported FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*
FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*/
public void setSupportedFieldTypeDetails(SupportedFieldTypeDetails supportedFieldTypeDetails) {
this.supportedFieldTypeDetails = supportedFieldTypeDetails;
}
/**
*
* Contains details regarding the supported FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*
FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*/
public SupportedFieldTypeDetails getSupportedFieldTypeDetails() {
return this.supportedFieldTypeDetails;
}
/**
*
* Contains details regarding the supported FieldType
, including the corresponding
* filterOperators
and supportedValues
.
*
FieldType
, including the corresponding
* filterOperators
and supportedValues
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ConnectorEntityField withSupportedFieldTypeDetails(SupportedFieldTypeDetails supportedFieldTypeDetails) {
setSupportedFieldTypeDetails(supportedFieldTypeDetails);
return this;
}
/**
* * A description of the connector entity field. *
* * @param description * A description of the connector entity field. */ public void setDescription(String description) { this.description = description; } /** ** A description of the connector entity field. *
* * @return A description of the connector entity field. */ public String getDescription() { return this.description; } /** ** A description of the connector entity field. *
* * @param description * A description of the connector entity field. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withDescription(String description) { setDescription(description); return this; } /** ** The properties that can be applied to a field when the connector is being used as a source. *
* * @param sourceProperties * The properties that can be applied to a field when the connector is being used as a source. */ public void setSourceProperties(SourceFieldProperties sourceProperties) { this.sourceProperties = sourceProperties; } /** ** The properties that can be applied to a field when the connector is being used as a source. *
* * @return The properties that can be applied to a field when the connector is being used as a source. */ public SourceFieldProperties getSourceProperties() { return this.sourceProperties; } /** ** The properties that can be applied to a field when the connector is being used as a source. *
* * @param sourceProperties * The properties that can be applied to a field when the connector is being used as a source. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withSourceProperties(SourceFieldProperties sourceProperties) { setSourceProperties(sourceProperties); return this; } /** ** The properties applied to a field when the connector is being used as a destination. *
* * @param destinationProperties * The properties applied to a field when the connector is being used as a destination. */ public void setDestinationProperties(DestinationFieldProperties destinationProperties) { this.destinationProperties = destinationProperties; } /** ** The properties applied to a field when the connector is being used as a destination. *
* * @return The properties applied to a field when the connector is being used as a destination. */ public DestinationFieldProperties getDestinationProperties() { return this.destinationProperties; } /** ** The properties applied to a field when the connector is being used as a destination. *
* * @param destinationProperties * The properties applied to a field when the connector is being used as a destination. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withDestinationProperties(DestinationFieldProperties destinationProperties) { setDestinationProperties(destinationProperties); return this; } /** ** A map that has specific properties related to the ConnectorEntityField. *
* * @return A map that has specific properties related to the ConnectorEntityField. */ public java.util.Map* A map that has specific properties related to the ConnectorEntityField. *
* * @param customProperties * A map that has specific properties related to the ConnectorEntityField. */ public void setCustomProperties(java.util.Map* A map that has specific properties related to the ConnectorEntityField. *
* * @param customProperties * A map that has specific properties related to the ConnectorEntityField. * @return Returns a reference to this object so that method calls can be chained together. */ public ConnectorEntityField withCustomProperties(java.util.Map