code: public java.util.List<DirectConnectGatewayAttachment> getDirectConnectGatewayAttachments() {
          if (directConnectGatewayAttachments == null) {
              directConnectGatewayAttachments = new com.amazonaws.internal.SdkInternalList<DirectConnectGatewayAttachment>();
          }
          return directConnectGatewayAttachments;
      }
docs: <p>
  The attachments.
  </p>
  
  @return The attachments.