Interface CodegenGenericDataRelationshipType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodegenGenericDataRelationshipType.Builder,
,CodegenGenericDataRelationshipType> SdkBuilder<CodegenGenericDataRelationshipType.Builder,
,CodegenGenericDataRelationshipType> SdkPojo
- Enclosing class:
CodegenGenericDataRelationshipType
public static interface CodegenGenericDataRelationshipType.Builder
extends SdkPojo, CopyableBuilder<CodegenGenericDataRelationshipType.Builder,CodegenGenericDataRelationshipType>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedFields
(String... associatedFields) The associated fields of the data relationship.associatedFields
(Collection<String> associatedFields) The associated fields of the data relationship.belongsToFieldOnRelatedModel
(String belongsToFieldOnRelatedModel) The value of thebelongsTo
field on the related data model.canUnlinkAssociatedModel
(Boolean canUnlinkAssociatedModel) Specifies whether the relationship can unlink the associated model.isHasManyIndex
(Boolean isHasManyIndex) Specifies whether the@index
directive is supported for ahasMany
data relationship.relatedJoinFieldName
(String relatedJoinFieldName) The name of the related join field in the data relationship.relatedJoinTableName
(String relatedJoinTableName) The name of the related join table in the data relationship.relatedModelFields
(String... relatedModelFields) The related model fields in the data relationship.relatedModelFields
(Collection<String> relatedModelFields) The related model fields in the data relationship.relatedModelName
(String relatedModelName) The name of the related model in the data relationship.The data relationship type.The data relationship type.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, sdkFields
-
Method Details
-
type
The data relationship type.
- Parameters:
type
- The data relationship type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The data relationship type.
- Parameters:
type
- The data relationship type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canUnlinkAssociatedModel
CodegenGenericDataRelationshipType.Builder canUnlinkAssociatedModel(Boolean canUnlinkAssociatedModel) Specifies whether the relationship can unlink the associated model.
- Parameters:
canUnlinkAssociatedModel
- Specifies whether the relationship can unlink the associated model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
belongsToFieldOnRelatedModel
CodegenGenericDataRelationshipType.Builder belongsToFieldOnRelatedModel(String belongsToFieldOnRelatedModel) The value of the
belongsTo
field on the related data model.- Parameters:
belongsToFieldOnRelatedModel
- The value of thebelongsTo
field on the related data model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedFields
The associated fields of the data relationship.
- Parameters:
associatedFields
- The associated fields of the data relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedFields
The associated fields of the data relationship.
- Parameters:
associatedFields
- The associated fields of the data relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasManyIndex
Specifies whether the
@index
directive is supported for ahasMany
data relationship.- Parameters:
isHasManyIndex
- Specifies whether the@index
directive is supported for ahasMany
data relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-