code: public void setRelationships(java.util.Collection<Relationship> relationships) {
          if (relationships == null) {
              this.relationships = null;
              return;
          }
  
          this.relationships = new com.amazonaws.internal.SdkInternalList<Relationship>(relationships);
      }
docs: <p>
  A list of related AWS resources.
  </p>
  
  @param relationships
  A list of related AWS resources.