Interface Field.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Field.Builder,Field>,SdkBuilder<Field.Builder,Field>,SdkPojo
- Enclosing class:
- Field
public static interface Field.Builder extends SdkPojo, CopyableBuilder<Field.Builder,Field>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field.BuildercustomProperties(Map<String,String> customProperties)Optional map of keys which may be returned.Field.Builderdescription(String description)A description of the field.Field.BuilderfieldName(String fieldName)A unique identifier for the field.Field.BuilderfieldType(String fieldType)The type of data in the field.Field.BuilderfieldType(FieldDataType fieldType)The type of data in the field.Field.BuilderisCreateable(Boolean isCreateable)Indicates whether this field can be created as part of a destination write.Field.BuilderisDefaultOnCreate(Boolean isDefaultOnCreate)Indicates whether this field is populated automatically when the object is created, such as a created at timestamp.Field.BuilderisFilterable(Boolean isFilterable)Indicates whether this field can used in a filter clause (WHEREclause) of a SQL statement when querying data.Field.BuilderisNullable(Boolean isNullable)Indicates whether this field can be nullable or not.Field.BuilderisPartitionable(Boolean isPartitionable)Indicates whether a given field can be used in partitioning the query made to SaaS.Field.BuilderisPrimaryKey(Boolean isPrimaryKey)Indicates whether this field can used as a primary key for the given entity.Field.BuilderisRetrievable(Boolean isRetrievable)Indicates whether this field can be added in Select clause of SQL query or whether it is retrievable or not.Field.BuilderisUpdateable(Boolean isUpdateable)Indicates whether this field can be updated as part of a destination write.Field.BuilderisUpsertable(Boolean isUpsertable)Indicates whether this field can be upserted as part of a destination write.Field.Builderlabel(String label)A readable label used for the field.Field.BuildernativeDataType(String nativeDataType)The data type returned by the SaaS API, such as “picklist” or “textarea” from Salesforce.Field.BuilderparentField(String parentField)A parent field name for a nested field.Field.BuildersupportedFilterOperators(Collection<FieldFilterOperator> supportedFilterOperators)Indicates the support filter operators for this field.Field.BuildersupportedFilterOperators(FieldFilterOperator... supportedFilterOperators)Indicates the support filter operators for this field.Field.BuildersupportedFilterOperatorsWithStrings(String... supportedFilterOperators)Indicates the support filter operators for this field.Field.BuildersupportedFilterOperatorsWithStrings(Collection<String> supportedFilterOperators)Indicates the support filter operators for this field.Field.BuildersupportedValues(String... supportedValues)A list of supported values for the field.Field.BuildersupportedValues(Collection<String> supportedValues)A list of supported values for the field.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fieldName
Field.Builder fieldName(String fieldName)
A unique identifier for the field.
- Parameters:
fieldName- A unique identifier for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
Field.Builder label(String label)
A readable label used for the field.
- Parameters:
label- A readable label used for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Field.Builder description(String description)
A description of the field.
- Parameters:
description- A description of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldType
Field.Builder fieldType(String fieldType)
The type of data in the field.
- Parameters:
fieldType- The type of data in the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FieldDataType,FieldDataType
-
fieldType
Field.Builder fieldType(FieldDataType fieldType)
The type of data in the field.
- Parameters:
fieldType- The type of data in the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FieldDataType,FieldDataType
-
isPrimaryKey
Field.Builder isPrimaryKey(Boolean isPrimaryKey)
Indicates whether this field can used as a primary key for the given entity.
- Parameters:
isPrimaryKey- Indicates whether this field can used as a primary key for the given entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNullable
Field.Builder isNullable(Boolean isNullable)
Indicates whether this field can be nullable or not.
- Parameters:
isNullable- Indicates whether this field can be nullable or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRetrievable
Field.Builder isRetrievable(Boolean isRetrievable)
Indicates whether this field can be added in Select clause of SQL query or whether it is retrievable or not.
- Parameters:
isRetrievable- Indicates whether this field can be added in Select clause of SQL query or whether it is retrievable or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isFilterable
Field.Builder isFilterable(Boolean isFilterable)
Indicates whether this field can used in a filter clause (
WHEREclause) of a SQL statement when querying data.- Parameters:
isFilterable- Indicates whether this field can used in a filter clause (WHEREclause) of a SQL statement when querying data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPartitionable
Field.Builder isPartitionable(Boolean isPartitionable)
Indicates whether a given field can be used in partitioning the query made to SaaS.
- Parameters:
isPartitionable- Indicates whether a given field can be used in partitioning the query made to SaaS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCreateable
Field.Builder isCreateable(Boolean isCreateable)
Indicates whether this field can be created as part of a destination write.
- Parameters:
isCreateable- Indicates whether this field can be created as part of a destination write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUpdateable
Field.Builder isUpdateable(Boolean isUpdateable)
Indicates whether this field can be updated as part of a destination write.
- Parameters:
isUpdateable- Indicates whether this field can be updated as part of a destination write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUpsertable
Field.Builder isUpsertable(Boolean isUpsertable)
Indicates whether this field can be upserted as part of a destination write.
- Parameters:
isUpsertable- Indicates whether this field can be upserted as part of a destination write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefaultOnCreate
Field.Builder isDefaultOnCreate(Boolean isDefaultOnCreate)
Indicates whether this field is populated automatically when the object is created, such as a created at timestamp.
- Parameters:
isDefaultOnCreate- Indicates whether this field is populated automatically when the object is created, such as a created at timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedValues
Field.Builder supportedValues(Collection<String> supportedValues)
A list of supported values for the field.
- Parameters:
supportedValues- A list of supported values for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedValues
Field.Builder supportedValues(String... supportedValues)
A list of supported values for the field.
- Parameters:
supportedValues- A list of supported values for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedFilterOperatorsWithStrings
Field.Builder supportedFilterOperatorsWithStrings(Collection<String> supportedFilterOperators)
Indicates the support filter operators for this field.
- Parameters:
supportedFilterOperators- Indicates the support filter operators for this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedFilterOperatorsWithStrings
Field.Builder supportedFilterOperatorsWithStrings(String... supportedFilterOperators)
Indicates the support filter operators for this field.
- Parameters:
supportedFilterOperators- Indicates the support filter operators for this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedFilterOperators
Field.Builder supportedFilterOperators(Collection<FieldFilterOperator> supportedFilterOperators)
Indicates the support filter operators for this field.
- Parameters:
supportedFilterOperators- Indicates the support filter operators for this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedFilterOperators
Field.Builder supportedFilterOperators(FieldFilterOperator... supportedFilterOperators)
Indicates the support filter operators for this field.
- Parameters:
supportedFilterOperators- Indicates the support filter operators for this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentField
Field.Builder parentField(String parentField)
A parent field name for a nested field.
- Parameters:
parentField- A parent field name for a nested field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nativeDataType
Field.Builder nativeDataType(String nativeDataType)
The data type returned by the SaaS API, such as “picklist” or “textarea” from Salesforce.
- Parameters:
nativeDataType- The data type returned by the SaaS API, such as “picklist” or “textarea” from Salesforce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customProperties
Field.Builder customProperties(Map<String,String> customProperties)
Optional map of keys which may be returned.
- Parameters:
customProperties- Optional map of keys which may be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-