public void setRelationships(java.util.Collection<RelationshipsListItem> relationships) {
        if (relationships == null) {
            this.relationships = null;
            return;
        }

        this.relationships = new java.util.ArrayList<RelationshipsListItem>(relationships);
    }
<p>
A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block
that's part of the line of text.
</p>

@param relationships
       A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD
       block that's part of the line of text.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Block.java